langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties
author mcimadamore
Mon, 26 Mar 2012 15:28:22 +0100
changeset 12334 29e1bfdcba4e
parent 11707 532f41763bc9
child 12335 4725d88691dd
permissions -rw-r--r--
7151492: Encapsulate check logic into Attr.ResultInfo Summary: ResultInfo class should be used to make attribution code transparent w.r.t. check logic being used Reviewed-by: jjg, dlsmith
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
#
11707
532f41763bc9 7129801: Merge the two method applicability routines
mcimadamore
parents: 11383
diff changeset
     2
# Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
#
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
#
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
    23
# questions.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    26
# Messages in this file which use "placeholders" for values (e.g. {0}, {1})
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    27
# are preceded by a stylized comment describing the type of the corresponding
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    28
# values.
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    29
# The types currently in use are
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    30
#
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    31
# boolean           true or false
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    32
# file name         the name of an input file; e.g.   MyFile.java
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    33
# message segment   a sub-message; see compiler.misc.*
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    34
# modifier          a Java modifier; e.g. public, private, protected
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    35
# name              a name, typically a Java identifier
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    36
# number            an integer
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    37
# option name       the name of a command line option
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    38
# source version    a source version number, such as 1.5, 1.6, 1.7
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    39
# string            a general string
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    40
# symbol            the name of a declared type
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    41
# symbol kind       a description of the kind of a declaration; see compiler.misc.kindname.*
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    42
# token             the name of a non-terminal in source code; see compiler.misc.token.*
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    43
# type              a Java type; e.g. int, X, X<T>
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    44
# unused            the value is not used in this message
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    45
#
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    46
# list of X         a comma-separated list of items; e.g. list of type
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    47
# X or Y            alternation; e.g. message segment or type
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    48
# set of X          a comma-separated collection of items; e.g. set of modifier
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    49
#
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    50
# These may be composed: e.g.   list of type or message segment
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    51
#
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    52
# These comments are verified by the jtreg test test/tools/javac/diags/MessageInfo,
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    53
# using info derived from the collected set of examples in test/tools/javac/diags/examples.
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    54
# MessageInfo can also be run as a standalone utility providing more facilities
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    55
# for manipulating this file. For more details, see MessageInfo.java.
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    56
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    57
##
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
## errors
06bc494ca11e Initial load
duke
parents:
diff changeset
    59
##
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    61
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
compiler.err.abstract.cant.be.instantiated=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    63
    {0} is abstract; cannot be instantiated
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    64
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    65
compiler.err.abstract.meth.cant.have.body=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    66
    abstract methods cannot have a body
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    67
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    68
compiler.err.already.annotated=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    69
    {0} {1} has already been annotated
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    70
10626
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    71
# 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    72
compiler.err.already.defined=\
10626
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    73
    {0} {1} is already defined in {2} {3}
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    74
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    75
# 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol kind, 4: symbol
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    76
compiler.err.already.defined.in.clinit=\
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    77
    {0} {1} is already defined in {2} of {3} {4}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    78
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    79
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    80
compiler.err.already.defined.single.import=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    81
    {0} is already defined in a single-type import
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    82
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    83
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    84
compiler.err.already.defined.static.single.import=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    85
    {0} is already defined in a static single-type import
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    86
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    87
compiler.err.already.defined.this.unit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    88
    {0} is already defined in this compilation unit
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    89
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    90
# 0: type, 1: list of name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    91
compiler.err.annotation.missing.default.value=\
6345
7d98c298aafd 6975231: Regression test for 6881115 is failing with compiler output not matching expected output
mcimadamore
parents: 6157
diff changeset
    92
    annotation {0} is missing value for the attribute {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    93
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    94
# 0: type, 1: list of name
6345
7d98c298aafd 6975231: Regression test for 6881115 is failing with compiler output not matching expected output
mcimadamore
parents: 6157
diff changeset
    95
compiler.err.annotation.missing.default.value.1=\
7d98c298aafd 6975231: Regression test for 6881115 is failing with compiler output not matching expected output
mcimadamore
parents: 6157
diff changeset
    96
    annotation {0} is missing values for attributes {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    97
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    98
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    99
compiler.err.annotation.not.valid.for.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   100
    annotation not valid for a value of type {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   101
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   102
compiler.err.annotation.type.not.applicable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   103
    annotation type not applicable to this kind of declaration
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   104
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   105
compiler.err.annotation.value.must.be.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   106
    annotation value must be an annotation
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   107
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   108
compiler.err.annotation.value.must.be.class.literal=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   109
    annotation value must be a class literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   110
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   111
compiler.err.annotation.value.must.be.name.value=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   112
    annotation values must be of the form ''name=value''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   113
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   114
compiler.err.annotation.value.not.allowable.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   115
    annotation value not of an allowable type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   116
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   117
compiler.err.anon.class.impl.intf.no.args=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   118
    anonymous class implements interface; cannot have arguments
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   119
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   120
compiler.err.anon.class.impl.intf.no.typeargs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   121
    anonymous class implements interface; cannot have type arguments
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   122
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   123
compiler.err.anon.class.impl.intf.no.qual.for.new=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   124
    anonymous class implements interface; cannot have qualifier for new
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   125
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   126
# 0: symbol, 1: symbol, 2: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   127
compiler.err.array.and.varargs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   128
    cannot declare both {0} and {1} in {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   129
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   130
compiler.err.array.dimension.missing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   131
    array dimension missing
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   132
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   133
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   134
compiler.err.array.req.but.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   135
    array required, but {0} found
06bc494ca11e Initial load
duke
parents:
diff changeset
   136
06bc494ca11e Initial load
duke
parents:
diff changeset
   137
compiler.err.attribute.value.must.be.constant=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   138
    attribute value must be constant
06bc494ca11e Initial load
duke
parents:
diff changeset
   139
06bc494ca11e Initial load
duke
parents:
diff changeset
   140
compiler.err.break.outside.switch.loop=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   141
    break outside switch or loop
06bc494ca11e Initial load
duke
parents:
diff changeset
   142
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   143
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   144
compiler.err.call.must.be.first.stmt.in.ctor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   145
    call to {0} must be first statement in constructor
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   146
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   147
compiler.err.cant.apply.symbol=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
   148
    {0} {1} in {4} {5} cannot be applied to given types\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
   149
    required: {2}\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
   150
    found: {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   151
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   152
# 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment
3140
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
   153
compiler.err.cant.apply.symbol.1=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
   154
    {0} {1} in {4} {5} cannot be applied to given types;\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
   155
    required: {2}\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
   156
    found: {3}\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
   157
    reason: {6}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   158
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   159
# 0: symbol kind, 1: name, 2: list of type
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
   160
compiler.err.cant.apply.symbols=\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
   161
    no suitable {0} found for {1}({2})
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   162
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   163
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   164
compiler.err.cant.assign.val.to.final.var=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   165
    cannot assign a value to final variable {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   166
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   167
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   168
compiler.err.cant.deref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   169
    {0} cannot be dereferenced
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   170
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   171
compiler.err.cant.extend.intf.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   172
    ''extends'' not allowed for @interfaces
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   173
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   174
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   175
compiler.err.cant.inherit.from.final=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   176
    cannot inherit from final {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   177
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   178
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   179
compiler.err.cant.ref.before.ctor.called=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   180
    cannot reference {0} before supertype constructor has been called
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   181
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   182
compiler.err.cant.ret.val.from.meth.decl.void=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   183
    cannot return a value from method whose result type is void
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   184
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   185
compiler.err.cant.select.static.class.from.param.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   186
    cannot select a static class from a parameterized type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   187
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   188
# 0: symbol, 1: string, 2: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   189
compiler.err.cant.inherit.diff.arg=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   190
    {0} cannot be inherited with different arguments: <{1}> and <{2}>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   191
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   192
compiler.err.catch.without.try=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   193
    ''catch'' without ''try''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   194
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   195
# 0: symbol kind, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   196
compiler.err.clash.with.pkg.of.same.name=\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   197
    {0} {1} clashes with package of same name
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   198
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   199
compiler.err.const.expr.req=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   200
    constant expression required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   201
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   202
compiler.err.cont.outside.loop=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   203
    continue outside of loop
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   204
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   205
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   206
compiler.err.cyclic.inheritance=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   207
    cyclic inheritance involving {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   208
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   209
compiler.err.cyclic.annotation.element=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   210
    cyclic annotation element type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   211
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   212
# 0: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   213
compiler.err.call.to.super.not.allowed.in.enum.ctor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   214
    call to super not allowed in enum constructor
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   215
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   216
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   217
compiler.err.no.superclass=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   218
    {0} has no superclass
06bc494ca11e Initial load
duke
parents:
diff changeset
   219
8038
4a2973290d71 6949040: java.dyn package must be compiled with -target 7 or better
mcimadamore
parents: 8036
diff changeset
   220
compiler.err.wrong.target.for.polymorphic.signature.definition=\
6592
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
   221
    MethodHandle API building requires -target 7 runtimes or better; current is -target {0}
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
   222
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   223
# 0: symbol, 1: type, 2: symbol, 3: type, 4: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   224
compiler.err.concrete.inheritance.conflict=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   225
    methods {0} from {1} and {2} from {3} are inherited with the same signature
06bc494ca11e Initial load
duke
parents:
diff changeset
   226
06bc494ca11e Initial load
duke
parents:
diff changeset
   227
compiler.err.default.allowed.in.intf.annotation.member=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   228
    default value only allowed in an @interface member
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   229
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   230
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   231
compiler.err.doesnt.exist=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   232
    package {0} does not exist
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   233
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   234
compiler.err.duplicate.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   235
    duplicate annotation
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   236
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   237
# 0: name, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   238
compiler.err.duplicate.annotation.member.value=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   239
    duplicate annotation member value {0} in {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   240
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   241
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   242
compiler.err.duplicate.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   243
    duplicate class: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   244
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   245
compiler.err.duplicate.case.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   246
    duplicate case label
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   247
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   248
compiler.err.duplicate.default.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   249
    duplicate default label
06bc494ca11e Initial load
duke
parents:
diff changeset
   250
06bc494ca11e Initial load
duke
parents:
diff changeset
   251
compiler.err.else.without.if=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   252
    ''else'' without ''if''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   253
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   254
compiler.err.empty.char.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   255
    empty character literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   256
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   257
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   258
compiler.err.encl.class.required=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   259
    an enclosing instance that contains {0} is required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   260
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   261
compiler.err.enum.annotation.must.be.enum.constant=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   262
    an enum annotation value must be an enum constant
06bc494ca11e Initial load
duke
parents:
diff changeset
   263
06bc494ca11e Initial load
duke
parents:
diff changeset
   264
compiler.err.enum.cant.be.instantiated=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   265
    enum types may not be instantiated
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   266
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   267
compiler.err.enum.label.must.be.unqualified.enum=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   268
    an enum switch case label must be the unqualified name of an enumeration constant
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   269
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   270
compiler.err.enum.no.subclassing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   271
    classes cannot directly extend java.lang.Enum
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   272
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   273
compiler.err.enum.types.not.extensible=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   274
    enum types are not extensible
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   275
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   276
compiler.err.enum.no.finalize=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   277
    enums cannot have finalize methods
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   278
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   279
# 0: file name, 1: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   280
compiler.err.error.reading.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   281
    error reading {0}; {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   282
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   283
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   284
compiler.err.except.already.caught=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   285
    exception {0} has already been caught
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   286
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   287
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   288
compiler.err.except.never.thrown.in.try=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   289
    exception {0} is never thrown in body of corresponding try statement
06bc494ca11e Initial load
duke
parents:
diff changeset
   290
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   291
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   292
compiler.err.final.parameter.may.not.be.assigned=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   293
    final parameter {0} may not be assigned
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   294
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   295
# 0: symbol
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
   296
compiler.err.try.resource.may.not.be.assigned=\
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
   297
    auto-closeable resource {0} may not be assigned
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   298
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   299
# 0: symbol
5492
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
   300
compiler.err.multicatch.parameter.may.not.be.assigned=\
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
   301
    multi-catch parameter {0} may not be assigned
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   302
9074
76b505d19026 7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents: 8849
diff changeset
   303
# 0: type, 1: type
76b505d19026 7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents: 8849
diff changeset
   304
compiler.err.multicatch.types.must.be.disjoint=\
76b505d19026 7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents: 8849
diff changeset
   305
    Alternatives in a multi-catch statement cannot be related by subclassing\n\
76b505d19026 7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents: 8849
diff changeset
   306
    Alternative {0} is a subclass of alternative {1}
76b505d19026 7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents: 8849
diff changeset
   307
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   308
compiler.err.finally.without.try=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   309
    ''finally'' without ''try''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   310
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   311
# 0: type, 1: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   312
compiler.err.foreach.not.applicable.to.type=\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   313
    for-each not applicable to expression type\n\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   314
    required: {1}\n\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   315
    found:    {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   316
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   317
compiler.err.fp.number.too.large=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   318
    floating point number too large
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   319
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   320
compiler.err.fp.number.too.small=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   321
    floating point number too small
06bc494ca11e Initial load
duke
parents:
diff changeset
   322
06bc494ca11e Initial load
duke
parents:
diff changeset
   323
compiler.err.generic.array.creation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   324
    generic array creation
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   325
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   326
compiler.err.generic.throwable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   327
    a generic class may not extend java.lang.Throwable
06bc494ca11e Initial load
duke
parents:
diff changeset
   328
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   329
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   330
compiler.err.icls.cant.have.static.decl=\
8046
376310825f60 6510286: Wording of javac error for inner classes
mcimadamore
parents: 8045
diff changeset
   331
    Illegal static declaration in inner class {0}\n\
376310825f60 6510286: Wording of javac error for inner classes
mcimadamore
parents: 8045
diff changeset
   332
    modifier \''static\'' is only allowed in constant variable declarations
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   333
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   334
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   335
compiler.err.illegal.char=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   336
    illegal character: \\{0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   337
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   338
compiler.err.illegal.char.for.encoding=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   339
    unmappable character for encoding {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   340
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   341
# 0: set of modifier, 1: set of modifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   342
compiler.err.illegal.combination.of.modifiers=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   343
    illegal combination of modifiers: {0} and {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   344
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   345
compiler.err.illegal.enum.static.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   346
    illegal reference to static field from initializer
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   347
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   348
compiler.err.illegal.esc.char=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   349
    illegal escape character
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   350
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   351
compiler.err.illegal.forward.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   352
    illegal forward reference
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   353
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   354
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   355
compiler.warn.forward.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   356
    reference to variable ''{0}'' before it has been initialized
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   357
1045
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   358
compiler.err.illegal.self.ref=\
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   359
    self-reference in initializer
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   360
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   361
# 0: symbol
1045
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   362
compiler.warn.self.ref=\
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   363
    self-reference in initializer of variable ''{0}''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   364
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   365
compiler.err.illegal.generic.type.for.instof=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   366
    illegal generic type for instanceof
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   367
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   368
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   369
compiler.err.illegal.initializer.for.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   370
    illegal initializer for {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   371
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   372
compiler.err.illegal.line.end.in.char.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   373
    illegal line end in character literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   374
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   375
compiler.err.illegal.nonascii.digit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   376
    illegal non-ASCII digit
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   377
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
   378
compiler.err.illegal.underscore=\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
   379
    illegal underscore
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   380
11383
ae090403accf 4881269: improve diagnostic for ill-formed tokens
jjg
parents: 11144
diff changeset
   381
compiler.err.illegal.dot=\
ae090403accf 4881269: improve diagnostic for ill-formed tokens
jjg
parents: 11144
diff changeset
   382
    illegal ''.''
ae090403accf 4881269: improve diagnostic for ill-formed tokens
jjg
parents: 11144
diff changeset
   383
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   384
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   385
compiler.err.illegal.qual.not.icls=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   386
    illegal qualifier; {0} is not an inner class
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   387
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   388
compiler.err.illegal.start.of.expr=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   389
    illegal start of expression
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   390
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   391
compiler.err.illegal.start.of.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   392
    illegal start of type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   393
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   394
compiler.err.illegal.unicode.esc=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   395
    illegal unicode escape
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   396
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   397
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   398
compiler.err.import.requires.canonical=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   399
    import requires canonical name for {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   400
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   401
compiler.err.improperly.formed.type.param.missing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   402
    improperly formed type, some parameters are missing
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   403
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   404
compiler.err.improperly.formed.type.inner.raw.param=\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   405
    improperly formed type, type arguments given on a raw type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   406
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   407
# 0: type, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   408
compiler.err.incomparable.types=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   409
    incomparable types: {0} and {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   410
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   411
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   412
compiler.err.int.number.too.large=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   413
    integer number too large: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   414
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   415
compiler.err.internal.error.cant.instantiate=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   416
    internal error; cannot instantiate {0} at {1} to ({2})
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   417
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   418
compiler.err.intf.annotation.members.cant.have.params=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   419
    @interface members may not have parameters
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   420
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   421
compiler.err.intf.annotation.cant.have.type.params=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   422
    @interface may not have type parameters
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   423
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   424
compiler.err.intf.annotation.members.cant.have.type.params=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   425
    @interface members may not have type parameters
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   426
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   427
# 0: symbol, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   428
compiler.err.intf.annotation.member.clash=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   429
    @interface member clashes with method ''{0}'' in {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   430
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   431
compiler.err.intf.expected.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   432
    interface expected here
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   433
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   434
compiler.err.intf.meth.cant.have.body=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   435
    interface methods cannot have body
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   436
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   437
compiler.err.invalid.annotation.member.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   438
    invalid type for annotation member
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   439
4072
70eaf9773f81 6891079: Compiler allows invalid binary literals 0b and oBL
jjg
parents: 3895
diff changeset
   440
compiler.err.invalid.binary.number=\
70eaf9773f81 6891079: Compiler allows invalid binary literals 0b and oBL
jjg
parents: 3895
diff changeset
   441
    binary numbers must contain at least one binary digit
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   442
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   443
compiler.err.invalid.hex.number=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   444
    hexadecimal numbers must contain at least one hexadecimal digit
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   445
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   446
compiler.err.invalid.meth.decl.ret.type.req=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   447
    invalid method declaration; return type required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   448
8047
c7f08cdb5c3c 6569633: Varargs: parser error when varargs element type is an array
mcimadamore
parents: 8046
diff changeset
   449
compiler.err.varargs.and.old.array.syntax=\
c7f08cdb5c3c 6569633: Varargs: parser error when varargs element type is an array
mcimadamore
parents: 8046
diff changeset
   450
    legacy array notation not allowed on variable-arity parameter
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   451
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   452
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   453
compiler.err.label.already.in.use=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   454
    label {0} already in use
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   455
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   456
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   457
compiler.err.local.var.accessed.from.icls.needs.final=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   458
    local variable {0} is accessed from within inner class; needs to be declared final
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   459
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   460
compiler.err.local.enum=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   461
    enum types must not be local
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   462
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   463
compiler.err.cannot.create.array.with.type.arguments=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   464
    cannot create array with type arguments
06bc494ca11e Initial load
duke
parents:
diff changeset
   465
10199
48bd09ecc88a 7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents: 10186
diff changeset
   466
compiler.err.cannot.create.array.with.diamond=\
48bd09ecc88a 7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents: 10186
diff changeset
   467
    cannot create array with ''<>''
48bd09ecc88a 7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents: 10186
diff changeset
   468
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   469
#
06bc494ca11e Initial load
duke
parents:
diff changeset
   470
# limits.  We don't give the limits in the diagnostic because we expect
06bc494ca11e Initial load
duke
parents:
diff changeset
   471
# them to change, yet we want to use the same diagnostic.  These are all
06bc494ca11e Initial load
duke
parents:
diff changeset
   472
# detected during code generation.
06bc494ca11e Initial load
duke
parents:
diff changeset
   473
#
06bc494ca11e Initial load
duke
parents:
diff changeset
   474
compiler.err.limit.code=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   475
    code too large
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   476
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   477
compiler.err.limit.code.too.large.for.try.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   478
    code too large for try statement
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   479
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   480
compiler.err.limit.dimensions=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   481
    array type has too many dimensions
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   482
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   483
compiler.err.limit.locals=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   484
    too many local variables
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   485
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   486
compiler.err.limit.parameters=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   487
    too many parameters
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   488
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   489
compiler.err.limit.pool=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   490
    too many constants
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   491
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   492
compiler.err.limit.pool.in.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   493
    too many constants in class {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   494
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   495
compiler.err.limit.stack=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   496
    code requires too much stack
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   497
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   498
compiler.err.limit.string=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   499
    constant string too long
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   500
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   501
compiler.err.limit.string.overflow=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   502
    UTF8 representation for string \"{0}...\" is too long for the constant pool
06bc494ca11e Initial load
duke
parents:
diff changeset
   503
06bc494ca11e Initial load
duke
parents:
diff changeset
   504
compiler.err.malformed.fp.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   505
    malformed floating point literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   506
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   507
compiler.err.method.does.not.override.superclass=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   508
    method does not override or implement a method from a supertype
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   509
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   510
compiler.err.missing.meth.body.or.decl.abstract=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   511
    missing method body, or declare abstract
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   512
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   513
compiler.err.missing.ret.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   514
    missing return statement
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   515
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   516
compiler.err.missing.ret.val=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   517
    missing return value
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   518
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   519
# 0: set of modifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   520
compiler.err.mod.not.allowed.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   521
    modifier {0} not allowed here
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   522
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   523
compiler.err.intf.not.allowed.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   524
    interface not allowed here
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   525
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   526
compiler.err.enums.must.be.static=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   527
    enum declarations allowed only in static contexts
06bc494ca11e Initial load
duke
parents:
diff changeset
   528
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   529
# 0: symbol, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   530
compiler.err.name.clash.same.erasure=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   531
    name clash: {0} and {1} have the same erasure
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   532
8242
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   533
# 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: unused, 5: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   534
compiler.err.name.clash.same.erasure.no.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   535
    name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   536
8242
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   537
# 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: symbol, 5: symbol
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   538
compiler.err.name.clash.same.erasure.no.override.1=\
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   539
    name clash: {0} in {1} overrides a method whose erasure is the same as another method, yet neither overrides the other\n\
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   540
    first method:  {2} in {3}\n\
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   541
    second method: {4} in {5}
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   542
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   543
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   544
compiler.err.name.clash.same.erasure.no.hide=\
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   545
    name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither hides the other
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   546
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   547
compiler.err.name.reserved.for.internal.use=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   548
    {0} is reserved for internal use
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   549
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   550
compiler.err.native.meth.cant.have.body=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   551
    native methods cannot have a body
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   552
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   553
# 0: type, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   554
compiler.err.neither.conditional.subtype=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   555
    incompatible types for ?: neither is a subtype of the other\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   556
    second operand: {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   557
    third operand : {1}
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   558
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   559
compiler.err.new.not.allowed.in.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   560
    ''new'' not allowed in an annotation
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   561
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   562
compiler.err.no.annotation.member=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   563
    no annotation member {0} in {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   564
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   565
compiler.err.no.encl.instance.of.type.in.scope=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   566
    no enclosing instance of type {0} is in scope
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   567
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   568
compiler.err.no.intf.expected.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   569
    no interface expected here
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   570
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   571
compiler.err.no.match.entry=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   572
    {0} has no match in entry in {1}; required {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   573
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   574
compiler.err.not.annotation.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   575
    {0} is not an annotation type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   576
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   577
# 0: symbol, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   578
compiler.err.not.def.access.class.intf.cant.access=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   579
    {0} in {1} is defined in an inaccessible class or interface
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   580
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   581
# 0: symbol, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   582
compiler.err.not.def.public.cant.access=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   583
    {0} is not public in {1}; cannot be accessed from outside package
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   584
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   585
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   586
compiler.err.not.loop.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   587
    not a loop label: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   588
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   589
compiler.err.not.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   590
    not a statement
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   591
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   592
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   593
compiler.err.not.encl.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   594
    not an enclosing class: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   595
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   596
# 0: name, 1: type, 2: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   597
compiler.err.operator.cant.be.applied=\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   598
    bad operand type {1} for unary operator ''{0}''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   599
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   600
# 0: name, 1: type, 2: type
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   601
compiler.err.operator.cant.be.applied.1=\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   602
    bad operand types for binary operator ''{0}''\n\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   603
    first type:  {1}\n\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   604
    second type: {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   605
06bc494ca11e Initial load
duke
parents:
diff changeset
   606
compiler.err.pkg.annotations.sb.in.package-info.java=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   607
    package annotations should be in file package-info.java
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   608
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   609
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   610
compiler.err.pkg.clashes.with.class.of.same.name=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   611
    package {0} clashes with class of same name
06bc494ca11e Initial load
duke
parents:
diff changeset
   612
1996
c855318a4b03 6595666: fix -Werror
jjg
parents: 1538
diff changeset
   613
compiler.err.warnings.and.werror=\
c855318a4b03 6595666: fix -Werror
jjg
parents: 1538
diff changeset
   614
    warnings found and -Werror specified
c855318a4b03 6595666: fix -Werror
jjg
parents: 1538
diff changeset
   615
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   616
# Errors related to annotation processing
06bc494ca11e Initial load
duke
parents:
diff changeset
   617
9077
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   618
# 0: symbol, 1: string, 2: stack-trace
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   619
compiler.err.proc.cant.access=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   620
    cannot access {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   621
    {1}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   622
    Consult the following stack trace for details.\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   623
    {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   624
9077
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   625
# 0: symbol, 1: string
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   626
compiler.err.proc.cant.access.1=\
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   627
    cannot access {0}\n\
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   628
    {1}
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   629
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   630
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   631
compiler.err.proc.cant.find.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   632
    Could not find class file for ''{0}''.
06bc494ca11e Initial load
duke
parents:
diff changeset
   633
06bc494ca11e Initial load
duke
parents:
diff changeset
   634
# Print a client-generated error message; assumed to be localized, no translation required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   635
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   636
compiler.err.proc.messager=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   637
    {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   638
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   639
# 0: list of string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   640
compiler.err.proc.no.explicit.annotation.processing.requested=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   641
    Class names, ''{0}'', are only accepted if annotation processing is explicitly requested
06bc494ca11e Initial load
duke
parents:
diff changeset
   642
06bc494ca11e Initial load
duke
parents:
diff changeset
   643
compiler.err.proc.no.service=\
10186
31a86b7e18ca 6575445: Update annotation processor to only use java.util.ServiceLoader
darcy
parents: 9604
diff changeset
   644
    A ServiceLoader was not usable and is required for annotation processing.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   645
06bc494ca11e Initial load
duke
parents:
diff changeset
   646
compiler.err.proc.processor.bad.option.name=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   647
    Bad option name ''{0}'' provided by processor ''{1}''
06bc494ca11e Initial load
duke
parents:
diff changeset
   648
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   649
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   650
compiler.err.proc.processor.cant.instantiate=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   651
    Could not instantiate an instance of processor ''{0}''
06bc494ca11e Initial load
duke
parents:
diff changeset
   652
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   653
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   654
compiler.err.proc.processor.not.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   655
    Annotation processor ''{0}'' not found
06bc494ca11e Initial load
duke
parents:
diff changeset
   656
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   657
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   658
compiler.err.proc.processor.wrong.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   659
    Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor
06bc494ca11e Initial load
duke
parents:
diff changeset
   660
06bc494ca11e Initial load
duke
parents:
diff changeset
   661
compiler.err.proc.service.problem=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   662
    Error creating a service loader to load Processors.
06bc494ca11e Initial load
duke
parents:
diff changeset
   663
06bc494ca11e Initial load
duke
parents:
diff changeset
   664
compiler.err.proc.bad.config.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   665
    Bad service configuration file, or exception thrown while constructing Processor object: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   666
06bc494ca11e Initial load
duke
parents:
diff changeset
   667
compiler.err.proc.cant.create.loader=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   668
    Could not create class loader for annotation processors: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   669
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   670
# 0: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   671
compiler.err.qualified.new.of.static.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   672
    qualified new of static class
06bc494ca11e Initial load
duke
parents:
diff changeset
   673
06bc494ca11e Initial load
duke
parents:
diff changeset
   674
compiler.err.recursive.ctor.invocation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   675
    recursive constructor invocation
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   676
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   677
# 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   678
compiler.err.ref.ambiguous=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   679
    reference to {0} is ambiguous, both {1} {2} in {3} and {4} {5} in {6} match
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   680
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   681
compiler.err.repeated.annotation.target=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   682
    repeated annotation target
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   683
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   684
compiler.err.repeated.interface=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   685
    repeated interface
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   686
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   687
compiler.err.repeated.modifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   688
    repeated modifier
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   689
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   690
# 0: symbol, 1: set of modifier, 2: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   691
compiler.err.report.access=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   692
    {0} has {1} access in {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   693
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   694
compiler.err.ret.outside.meth=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   695
    return outside method
06bc494ca11e Initial load
duke
parents:
diff changeset
   696
06bc494ca11e Initial load
duke
parents:
diff changeset
   697
compiler.err.signature.doesnt.match.supertype=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   698
    signature does not match {0}; incompatible supertype
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   699
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   700
compiler.err.signature.doesnt.match.intf=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   701
    signature does not match {0}; incompatible interfaces
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   702
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   703
# 0: symbol, 1: symbol, 2: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   704
compiler.err.does.not.override.abstract=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   705
    {0} is not abstract and does not override abstract method {1} in {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   706
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   707
compiler.err.source.cant.overwrite.input.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   708
    error writing source; cannot overwrite input file {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   709
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   710
compiler.err.stack.sim.error=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   711
    Internal error: stack sim error on {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   712
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   713
compiler.err.static.imp.only.classes.and.interfaces=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   714
    static import only from classes and interfaces
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   715
4142
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
   716
compiler.err.string.const.req=\
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
   717
    constant string expression required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   718
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   719
# 0: symbol, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   720
compiler.err.synthetic.name.conflict=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   721
    the symbol {0} conflicts with a compiler-synthesized symbol in {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   722
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   723
# 0: symbol, 1: symbol
3557
a803afefa115 6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
mcimadamore
parents: 3554
diff changeset
   724
compiler.warn.synthetic.name.conflict=\
a803afefa115 6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
mcimadamore
parents: 3554
diff changeset
   725
    the symbol {0} conflicts with a compiler-synthesized symbol in {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   726
06bc494ca11e Initial load
duke
parents:
diff changeset
   727
compiler.err.throws.not.allowed.in.intf.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   728
    throws clause not allowed in @interface members
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   729
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   730
compiler.err.try.without.catch.or.finally=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   731
    ''try'' without ''catch'' or ''finally''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   732
6148
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
   733
compiler.err.try.without.catch.finally.or.resource.decls=\
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
   734
    ''try'' without ''catch'', ''finally'' or resource declarations
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   735
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   736
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   737
compiler.err.type.doesnt.take.params=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   738
    type {0} does not take parameters
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   739
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   740
compiler.err.type.var.cant.be.deref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   741
    cannot select from a type variable
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   742
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   743
compiler.err.type.var.may.not.be.followed.by.other.bounds=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   744
    a type variable may not be followed by other bounds
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   745
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   746
compiler.err.type.var.more.than.once=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   747
    type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   748
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   749
compiler.err.type.var.more.than.once.in.result=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   750
    type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   751
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   752
# 0: type, 1: type, 2: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   753
compiler.err.types.incompatible.diff.ret=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   754
    types {0} and {1} are incompatible; both define {2}, but with unrelated return types
06bc494ca11e Initial load
duke
parents:
diff changeset
   755
06bc494ca11e Initial load
duke
parents:
diff changeset
   756
compiler.err.unclosed.char.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   757
    unclosed character literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   758
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   759
compiler.err.unclosed.comment=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   760
    unclosed comment
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   761
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   762
compiler.err.unclosed.str.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   763
    unclosed string literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   764
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   765
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   766
compiler.err.unsupported.encoding=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   767
    unsupported encoding: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   768
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   769
compiler.err.io.exception=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   770
    error reading source file: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   771
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   772
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   773
compiler.err.undef.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   774
    undefined label: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   775
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
   776
# 0: list of type, 1: message segment
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
   777
compiler.misc.invalid.inferred.types=\
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
   778
    invalid inferred types for {0}\n\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   779
    reason: {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   780
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   781
# 0: message segment, 1: unused
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
   782
compiler.err.cant.apply.diamond=\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
   783
    cannot infer type arguments for {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   784
11053
48713f779b1d 7108669: cleanup Log methods for direct printing to streams
jjg
parents: 10816
diff changeset
   785
# 0: message segment or type, 1: message segment
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
   786
compiler.err.cant.apply.diamond.1=\
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
   787
    cannot infer type arguments for {0}\n\
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
   788
    reason: {1}
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
   789
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
   790
# 0: message segment or type, 1: message segment
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
   791
compiler.misc.cant.apply.diamond.1=\
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
   792
    cannot infer type arguments for {0}\n\
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
   793
    reason: {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   794
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   795
compiler.err.unreachable.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   796
    unreachable statement
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   797
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   798
compiler.err.initializer.must.be.able.to.complete.normally=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   799
    initializer must be able to complete normally
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   800
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   801
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   802
compiler.err.unreported.exception.need.to.catch.or.throw=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   803
    unreported exception {0}; must be caught or declared to be thrown
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   804
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   805
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   806
compiler.err.unreported.exception.default.constructor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   807
    unreported exception {0} in default constructor
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   808
8428
1e9935b883cd 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents: 8242
diff changeset
   809
# 0: type, 1: name
1e9935b883cd 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents: 8242
diff changeset
   810
compiler.err.unreported.exception.implicit.close=\
1e9935b883cd 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents: 8242
diff changeset
   811
    unreported exception {0}; must be caught or declared to be thrown\n\
1e9935b883cd 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents: 8242
diff changeset
   812
    exception thrown from implicit call to close() on resource variable ''{1}''
1e9935b883cd 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents: 8242
diff changeset
   813
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   814
compiler.err.unsupported.cross.fp.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   815
    hexadecimal floating-point literals are not supported on this VM
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   816
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   817
compiler.err.void.not.allowed.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   818
    ''void'' type not allowed here
06bc494ca11e Initial load
duke
parents:
diff changeset
   819
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   820
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   821
compiler.err.wrong.number.type.args=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   822
    wrong number of type arguments; required {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   823
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   824
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   825
compiler.err.var.might.already.be.assigned=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   826
    variable {0} might already have been assigned
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   827
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   828
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   829
compiler.err.var.might.not.have.been.initialized=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   830
    variable {0} might not have been initialized
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   831
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   832
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   833
compiler.err.var.might.be.assigned.in.loop=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   834
    variable {0} might be assigned in loop
06bc494ca11e Initial load
duke
parents:
diff changeset
   835
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   836
# 0: symbol, 1: message segment
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
   837
compiler.err.varargs.invalid.trustme.anno=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
   838
    Invalid {0} annotation. {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   839
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   840
# 0: type
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
   841
compiler.misc.varargs.trustme.on.reifiable.varargs=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
   842
    Varargs element type {0} is reifiable.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   843
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   844
# 0: symbol
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
   845
compiler.misc.varargs.trustme.on.non.varargs.meth=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
   846
    Method {0} is not a varargs method.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   847
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   848
# 0: symbol
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
   849
compiler.misc.varargs.trustme.on.virtual.varargs=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
   850
    Instance method {0} is not final.
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
   851
11053
48713f779b1d 7108669: cleanup Log methods for direct printing to streams
jjg
parents: 10816
diff changeset
   852
# 0: type, 1: symbol kind, 2: symbol
8229
39266c1b1b0e 6313164: javac generates code that fails byte code verification for the varargs feature
mcimadamore
parents: 8226
diff changeset
   853
compiler.misc.inaccessible.varargs.type=\
39266c1b1b0e 6313164: javac generates code that fails byte code verification for the varargs feature
mcimadamore
parents: 8226
diff changeset
   854
    formal varargs element type {0} is not accessible from {1} {2}
39266c1b1b0e 6313164: javac generates code that fails byte code verification for the varargs feature
mcimadamore
parents: 8226
diff changeset
   855
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   856
# In the following string, {1} will always be the detail message from
06bc494ca11e Initial load
duke
parents:
diff changeset
   857
# java.io.IOException.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   858
# 0: symbol, 1: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   859
compiler.err.class.cant.write=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   860
    error while writing {0}: {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   861
06bc494ca11e Initial load
duke
parents:
diff changeset
   862
# In the following string, {0} is the name of the class in the Java source.
06bc494ca11e Initial load
duke
parents:
diff changeset
   863
# It really should be used two times..
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   864
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   865
compiler.err.class.public.should.be.in.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   866
    class {0} is public, should be declared in a file named {0}.java
06bc494ca11e Initial load
duke
parents:
diff changeset
   867
06bc494ca11e Initial load
duke
parents:
diff changeset
   868
## All errors which do not refer to a particular line in the source code are
06bc494ca11e Initial load
duke
parents:
diff changeset
   869
## preceded by this string.
06bc494ca11e Initial load
duke
parents:
diff changeset
   870
compiler.err.error=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   871
    error:\u0020
06bc494ca11e Initial load
duke
parents:
diff changeset
   872
06bc494ca11e Initial load
duke
parents:
diff changeset
   873
# The following error messages do not refer to a line in the source code.
06bc494ca11e Initial load
duke
parents:
diff changeset
   874
compiler.err.cant.read.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   875
    cannot read: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   876
06bc494ca11e Initial load
duke
parents:
diff changeset
   877
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   878
06bc494ca11e Initial load
duke
parents:
diff changeset
   879
# Fatal Errors
06bc494ca11e Initial load
duke
parents:
diff changeset
   880
06bc494ca11e Initial load
duke
parents:
diff changeset
   881
compiler.misc.fatal.err.no.java.lang=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   882
    Fatal Error: Unable to find package java.lang in classpath or bootclasspath
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   883
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   884
compiler.misc.fatal.err.cant.locate.meth=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   885
    Fatal Error: Unable to find method {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   886
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   887
compiler.misc.fatal.err.cant.locate.field=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   888
    Fatal Error: Unable to find field {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   889
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   890
compiler.misc.fatal.err.cant.locate.ctor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   891
    Fatal Error: Unable to find constructor for {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   892
10637
2ea5fbb913ac 7092965: javac should not close processorClassLoader before end of compilation
jjg
parents: 10628
diff changeset
   893
compiler.misc.fatal.err.cant.close=\
2ea5fbb913ac 7092965: javac should not close processorClassLoader before end of compilation
jjg
parents: 10628
diff changeset
   894
    Fatal Error: Cannot close compiler resources
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   895
06bc494ca11e Initial load
duke
parents:
diff changeset
   896
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   897
06bc494ca11e Initial load
duke
parents:
diff changeset
   898
##
06bc494ca11e Initial load
duke
parents:
diff changeset
   899
## miscellaneous strings
06bc494ca11e Initial load
duke
parents:
diff changeset
   900
##
06bc494ca11e Initial load
duke
parents:
diff changeset
   901
06bc494ca11e Initial load
duke
parents:
diff changeset
   902
compiler.misc.source.unavailable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   903
    (source unavailable)
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   904
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   905
compiler.misc.base.membership=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   906
    all your base class are belong to us
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   907
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   908
# 0: string, 1: string, 2: boolean
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   909
compiler.misc.x.print.processor.info=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   910
    Processor {0} matches {1} and returns {2}.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   911
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   912
# 0: number, 1: string, 2: set of symbol, 3: boolean
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   913
compiler.misc.x.print.rounds=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   914
    Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
   915
06bc494ca11e Initial load
duke
parents:
diff changeset
   916
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   917
06bc494ca11e Initial load
duke
parents:
diff changeset
   918
## The following string will appear before all messages keyed as:
06bc494ca11e Initial load
duke
parents:
diff changeset
   919
## "compiler.note".
06bc494ca11e Initial load
duke
parents:
diff changeset
   920
compiler.note.note=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   921
    Note:\u0020
06bc494ca11e Initial load
duke
parents:
diff changeset
   922
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   923
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   924
compiler.note.deprecated.filename=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   925
    {0} uses or overrides a deprecated API.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   926
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   927
compiler.note.deprecated.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   928
    Some input files use or override a deprecated API.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   929
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   930
# The following string may appear after one of the above deprecation
06bc494ca11e Initial load
duke
parents:
diff changeset
   931
# messages.
06bc494ca11e Initial load
duke
parents:
diff changeset
   932
compiler.note.deprecated.recompile=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   933
    Recompile with -Xlint:deprecation for details.
06bc494ca11e Initial load
duke
parents:
diff changeset
   934
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   935
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   936
compiler.note.deprecated.filename.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   937
    {0} has additional uses or overrides of a deprecated API.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   938
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   939
compiler.note.deprecated.plural.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   940
    Some input files additionally use or override a deprecated API.
06bc494ca11e Initial load
duke
parents:
diff changeset
   941
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   942
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   943
compiler.note.unchecked.filename=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   944
    {0} uses unchecked or unsafe operations.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   945
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   946
compiler.note.unchecked.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   947
    Some input files use unchecked or unsafe operations.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   948
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   949
# The following string may appear after one of the above deprecation
06bc494ca11e Initial load
duke
parents:
diff changeset
   950
# messages.
06bc494ca11e Initial load
duke
parents:
diff changeset
   951
compiler.note.unchecked.recompile=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   952
    Recompile with -Xlint:unchecked for details.
06bc494ca11e Initial load
duke
parents:
diff changeset
   953
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   954
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   955
compiler.note.unchecked.filename.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   956
    {0} has additional unchecked or unsafe operations.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   957
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   958
compiler.note.unchecked.plural.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   959
    Some input files additionally use unchecked or unsafe operations.
06bc494ca11e Initial load
duke
parents:
diff changeset
   960
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   961
# 0: file name
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   962
compiler.note.sunapi.filename=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
   963
    {0} uses internal proprietary API that may be removed in a future release.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   964
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   965
compiler.note.sunapi.plural=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
   966
    Some input files use internal proprietary API that may be removed in a future release.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   967
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   968
# The following string may appear after one of the above sunapi messages.
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   969
compiler.note.sunapi.recompile=\
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   970
    Recompile with -Xlint:sunapi for details.
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   971
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   972
# 0: file name
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   973
compiler.note.sunapi.filename.additional=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
   974
    {0} uses additional internal proprietary API that may be removed in a future release.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   975
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   976
compiler.note.sunapi.plural.additional=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
   977
    Some input files additionally use internal proprietary API that may be removed in a future release.
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   978
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   979
# Notes related to annotation processing
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   980
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   981
# Print a client-generated note; assumed to be localized, no translation required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   982
# 0: string
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   983
compiler.note.proc.messager=\
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   984
    {0}
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   985
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   986
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   987
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   988
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   989
compiler.misc.count.error=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   990
    {0} error
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   991
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   992
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   993
compiler.misc.count.error.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   994
    {0} errors
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   995
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   996
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   997
compiler.misc.count.warn=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   998
    {0} warning
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   999
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1000
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1001
compiler.misc.count.warn.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1002
    {0} warnings
06bc494ca11e Initial load
duke
parents:
diff changeset
  1003
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1004
compiler.misc.version.not.available=\
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1005
    (version info not available)
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1006
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1007
## extra output when using -verbose (JavaCompiler)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1008
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1009
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1010
compiler.misc.verbose.checking.attribution=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1011
    [checking {0}]
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1012
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1013
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1014
compiler.misc.verbose.parsing.done=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1015
    [parsing completed {0}ms]
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1016
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1017
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1018
compiler.misc.verbose.parsing.started=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1019
    [parsing started {0}]
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1020
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1021
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1022
compiler.misc.verbose.total=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1023
    [total {0}ms]
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1024
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1025
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1026
compiler.misc.verbose.wrote.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1027
    [wrote {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
  1028
06bc494ca11e Initial load
duke
parents:
diff changeset
  1029
## extra output when using -verbose (Retro)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1030
compiler.misc.verbose.retro=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1031
    [retrofitting {0}]
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1032
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1033
compiler.misc.verbose.retro.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1034
    \tretrofitting {0} with {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1035
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1036
compiler.misc.verbose.retro.with.list=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1037
    \tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1038
06bc494ca11e Initial load
duke
parents:
diff changeset
  1039
## extra output when using -verbose (code/ClassReader)
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1040
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1041
compiler.misc.verbose.loading=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1042
    [loading {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
  1043
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1044
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1045
compiler.misc.verbose.sourcepath=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1046
    [search path for source files: {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
  1047
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1048
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1049
compiler.misc.verbose.classpath=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1050
    [search path for class files: {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
  1051
06bc494ca11e Initial load
duke
parents:
diff changeset
  1052
## extra output when using -checkclassfile (code/ClassReader)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1053
compiler.misc.ccf.found.later.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1054
    class file has later version than expected: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1055
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1056
compiler.misc.ccf.unrecognized.attribute=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1057
    unrecognized attribute: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1058
06bc494ca11e Initial load
duke
parents:
diff changeset
  1059
## extra output when using -prompt (util/Log)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1060
compiler.misc.resume.abort=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1061
    R)esume, A)bort>
06bc494ca11e Initial load
duke
parents:
diff changeset
  1062
06bc494ca11e Initial load
duke
parents:
diff changeset
  1063
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1064
06bc494ca11e Initial load
duke
parents:
diff changeset
  1065
##
06bc494ca11e Initial load
duke
parents:
diff changeset
  1066
## warnings
06bc494ca11e Initial load
duke
parents:
diff changeset
  1067
##
06bc494ca11e Initial load
duke
parents:
diff changeset
  1068
06bc494ca11e Initial load
duke
parents:
diff changeset
  1069
## All warning messages are preceded by the following string.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1070
compiler.warn.warning=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1071
    warning:\u0020
06bc494ca11e Initial load
duke
parents:
diff changeset
  1072
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1073
## Warning messages may also include the following prefix to identify a
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1074
## lint option
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1075
# 0: option name
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1076
compiler.warn.lintOption=\
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1077
    [{0}]\u0020
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1078
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1079
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1080
compiler.warn.constant.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1081
    serialVersionUID must be constant in class {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1082
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1083
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1084
compiler.warn.dir.path.element.not.found=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1085
    bad path element "{0}": no such directory
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1086
06bc494ca11e Initial load
duke
parents:
diff changeset
  1087
compiler.warn.finally.cannot.complete=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1088
    finally clause cannot complete normally
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1089
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1090
# 0: symbol, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1091
compiler.warn.has.been.deprecated=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1092
    {0} in {1} has been deprecated
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1093
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1094
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1095
compiler.warn.sun.proprietary=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
  1096
    {0} is internal proprietary API and may be removed in a future release
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1097
06bc494ca11e Initial load
duke
parents:
diff changeset
  1098
compiler.warn.illegal.char.for.encoding=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1099
    unmappable character for encoding {0}
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1100
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1101
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1102
compiler.warn.improper.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1103
    serialVersionUID must be declared static final in class {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1104
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1105
# 0: type, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1106
compiler.warn.inexact.non-varargs.call=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1107
    non-varargs call of varargs method with inexact argument type for last parameter;\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1108
    cast to {0} for a varargs call\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1109
    cast to {1} for a non-varargs call and to suppress this warning
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1110
8849
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1111
# 0: list of type
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1112
compiler.warn.unreachable.catch=\
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1113
    unreachable catch clause\n\
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1114
    thrown type {0} has already been caught
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1115
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1116
# 0: list of type
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1117
compiler.warn.unreachable.catch.1=\
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1118
    unreachable catch clause\n\
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1119
    thrown types {0} have already been caught
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1120
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1121
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1122
compiler.warn.long.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1123
    serialVersionUID must be of type long in class {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1124
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1125
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1126
compiler.warn.missing.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1127
    serializable class {0} has no definition of serialVersionUID
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1128
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1129
# 0: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1130
compiler.warn.override.varargs.missing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1131
    {0}; overridden method has no ''...''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1132
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1133
# 0: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1134
compiler.warn.override.varargs.extra=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1135
    {0}; overriding method is missing ''...''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1136
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1137
compiler.warn.override.bridge=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1138
    {0}; overridden method is a bridge method
06bc494ca11e Initial load
duke
parents:
diff changeset
  1139
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1140
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1141
compiler.warn.pkg-info.already.seen=\
4692
4df6242d3940 6307206: missing lint control for pkg-info
jjg
parents: 4142
diff changeset
  1142
    a package-info.java file has already been seen for package {0}
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1143
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1144
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1145
compiler.warn.path.element.not.found=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1146
    bad path element "{0}": no such file or directory
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1147
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1148
compiler.warn.possible.fall-through.into.case=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1149
    possible fall-through into case
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1150
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1151
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1152
compiler.warn.redundant.cast=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1153
    redundant cast to {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1154
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1155
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1156
compiler.warn.position.overflow=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1157
    Position encoding overflows at line {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1158
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1159
# 0: file name, 1: number, 2: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1160
compiler.warn.big.major.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1161
    {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1162
    It is recommended that the compiler be upgraded.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1163
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1164
# 0: symbol kind, 1: symbol
5002
12a9e8562200 4880220: Add a warning when accessing a static method via an reference
jjg
parents: 4692
diff changeset
  1165
compiler.warn.static.not.qualified.by.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1166
    static {0} should be qualified by type name, {1}, instead of by an expression
5002
12a9e8562200 4880220: Add a warning when accessing a static method via an reference
jjg
parents: 4692
diff changeset
  1167
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1168
# 0: string
7335
8b390fd27190 6900037: javac should warn if earlier -source is used and bootclasspath not set
jjg
parents: 7330
diff changeset
  1169
compiler.warn.source.no.bootclasspath=\
8b390fd27190 6900037: javac should warn if earlier -source is used and bootclasspath not set
jjg
parents: 7330
diff changeset
  1170
    bootstrap class path not set in conjunction with -source {0}
8b390fd27190 6900037: javac should warn if earlier -source is used and bootclasspath not set
jjg
parents: 7330
diff changeset
  1171
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1172
# 0: name, 1: number, 2: number, 3: number, 4: number
7624
c31b0ea95b37 6999210: javac should be able to warn of anomalous conditions in classfiles
jjg
parents: 7335
diff changeset
  1173
compiler.warn.future.attr=\
c31b0ea95b37 6999210: javac should be able to warn of anomalous conditions in classfiles
jjg
parents: 7335
diff changeset
  1174
    {0} attribute introduced in version {1}.{2} class files is ignored in version {3}.{4} class files
c31b0ea95b37 6999210: javac should be able to warn of anomalous conditions in classfiles
jjg
parents: 7335
diff changeset
  1175
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1176
# Warnings related to annotation processing
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1177
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1178
compiler.warn.proc.package.does.not.exist=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1179
    package {0} does not exist
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1180
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1181
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1182
compiler.warn.proc.file.reopening=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1183
    Attempt to create a file for ''{0}'' multiple times
06bc494ca11e Initial load
duke
parents:
diff changeset
  1184
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1185
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1186
compiler.warn.proc.type.already.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1187
    A file for type ''{0}'' already exists on the sourcepath or classpath
06bc494ca11e Initial load
duke
parents:
diff changeset
  1188
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1189
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1190
compiler.warn.proc.type.recreate=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1191
    Attempt to create a file for type ''{0}'' multiple times
06bc494ca11e Initial load
duke
parents:
diff changeset
  1192
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1193
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1194
compiler.warn.proc.illegal.file.name=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1195
    Cannot create file for illegal name ''{0}''.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1196
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1197
# 0: string, 1: string
6157
218670cd9b1c 6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
jjg
parents: 6151
diff changeset
  1198
compiler.warn.proc.suspicious.class.name=\
218670cd9b1c 6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
jjg
parents: 6151
diff changeset
  1199
    Creating file for a type whose name ends in {1}: ''{0}''
218670cd9b1c 6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
jjg
parents: 6151
diff changeset
  1200
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1201
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1202
compiler.warn.proc.file.create.last.round=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1203
    File for type ''{0}'' created in the last round will not be subject to annotation processing.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1204
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1205
# 0: string, 1: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1206
compiler.warn.proc.malformed.supported.string=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1207
    Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}''
06bc494ca11e Initial load
duke
parents:
diff changeset
  1208
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1209
# 0: set of string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1210
compiler.warn.proc.annotations.without.processors=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1211
    No processor claimed any of these annotations: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1212
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1213
# 0: source version, 1: string, 2: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1214
compiler.warn.proc.processor.incompatible.source.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1215
    Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}''
06bc494ca11e Initial load
duke
parents:
diff changeset
  1216
06bc494ca11e Initial load
duke
parents:
diff changeset
  1217
compiler.warn.proc.proc-only.requested.no.procs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1218
    Annotation processing without compilation requested but no processors were found.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1219
06bc494ca11e Initial load
duke
parents:
diff changeset
  1220
compiler.warn.proc.use.implicit=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1221
    Implicitly compiled files were not subject to annotation processing.\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1222
    Use -implicit to specify a policy for implicit compilation.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1223
06bc494ca11e Initial load
duke
parents:
diff changeset
  1224
compiler.warn.proc.use.proc.or.implicit=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1225
    Implicitly compiled files were not subject to annotation processing.\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1226
    Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1227
06bc494ca11e Initial load
duke
parents:
diff changeset
  1228
# Print a client-generated warning; assumed to be localized, no translation required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1229
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1230
compiler.warn.proc.messager=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1231
    {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1232
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1233
# 0: set of name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1234
compiler.warn.proc.unclosed.type.files=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1235
    Unclosed files for the types ''{0}''; these types will not undergo annotation processing
06bc494ca11e Initial load
duke
parents:
diff changeset
  1236
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1237
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1238
compiler.warn.proc.unmatched.processor.options=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1239
    The following options were not recognized by any processor: ''{0}''
06bc494ca11e Initial load
duke
parents:
diff changeset
  1240
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1241
compiler.warn.try.explicit.close.call=\
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1242
    explicit call to close() on an auto-closeable resource
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1243
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1244
# 0: symbol
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1245
compiler.warn.try.resource.not.referenced=\
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1246
    auto-closeable resource {0} is never referenced in body of corresponding try statement
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1247
9076
45c73da050e9 7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents: 9074
diff changeset
  1248
# 0: type
45c73da050e9 7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents: 9074
diff changeset
  1249
compiler.warn.try.resource.throws.interrupted.exc=\
45c73da050e9 7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents: 9074
diff changeset
  1250
    auto-closeable resource {0} has a member method close() that could throw InterruptedException
45c73da050e9 7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents: 9074
diff changeset
  1251
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1252
compiler.warn.unchecked.assign=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1253
    unchecked assignment: {0} to {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1254
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1255
# 0: symbol, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1256
compiler.warn.unchecked.assign.to.var=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1257
    unchecked assignment to variable {0} as member of raw type {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1258
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1259
# 0: symbol, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1260
compiler.warn.unchecked.call.mbr.of.raw.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1261
    unchecked call to {0} as a member of the raw type {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1262
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1263
compiler.warn.unchecked.cast.to.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1264
    unchecked cast to type {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1265
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1266
# 0: symbol kind, 1: name, 2: list of type, 3: list of type, 4: symbol kind, 5: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1267
compiler.warn.unchecked.meth.invocation.applied=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1268
    unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
1534
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1269
    required: {2}\n\
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1270
    found: {3}
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1271
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1272
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1273
compiler.warn.unchecked.generic.array.creation=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1274
    unchecked generic array creation for varargs parameter of type {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1275
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1276
# 0: type
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1277
compiler.warn.unchecked.varargs.non.reifiable.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1278
    Possible heap pollution from parameterized vararg type {0}
5846
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
  1279
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1280
# 0: symbol
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1281
compiler.warn.varargs.unsafe.use.varargs.param=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1282
    Varargs method could cause heap pollution from non-reifiable varargs parameter {0}
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1283
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1284
compiler.warn.missing.deprecated.annotation=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1285
    deprecated item is not annotated with @Deprecated
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1286
06bc494ca11e Initial load
duke
parents:
diff changeset
  1287
compiler.warn.invalid.archive.file=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1288
    Unexpected file on path: {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1289
06bc494ca11e Initial load
duke
parents:
diff changeset
  1290
compiler.warn.unexpected.archive.file=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1291
    Unexpected extension for archive file: {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1292
06bc494ca11e Initial load
duke
parents:
diff changeset
  1293
compiler.warn.div.zero=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1294
    division by zero
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1295
06bc494ca11e Initial load
duke
parents:
diff changeset
  1296
compiler.warn.empty.if=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1297
    empty statement after if
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1298
06bc494ca11e Initial load
duke
parents:
diff changeset
  1299
compiler.warn.annotation.method.not.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1300
    Cannot find annotation method ''{1}()'' in type ''{0}''
06bc494ca11e Initial load
duke
parents:
diff changeset
  1301
06bc494ca11e Initial load
duke
parents:
diff changeset
  1302
compiler.warn.annotation.method.not.found.reason=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1303
    Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1304
9603
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1305
# 0: symbol, 1: name
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1306
compiler.warn.unknown.enum.constant=\
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1307
    unknown enum constant {1}.{2}
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1308
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1309
# 0: symbol, 1: name, 2: message segment
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1310
compiler.warn.unknown.enum.constant.reason=\
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1311
    unknown enum constant {1}.{2}\n\
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1312
    reason: {3}
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1313
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1314
# 0: type, 1: type
1358
a51c5f89f8af 6747671: -Xlint:rawtypes
mcimadamore
parents: 1357
diff changeset
  1315
compiler.warn.raw.class.use=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1316
    found raw type: {0}\n\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1317
    missing type arguments for generic class {1}
1358
a51c5f89f8af 6747671: -Xlint:rawtypes
mcimadamore
parents: 1357
diff changeset
  1318
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1319
# 0: unused, 1: unused
7081
94cfc5b65bed 6939780: add a warning to detect diamond sites
mcimadamore
parents: 7072
diff changeset
  1320
compiler.warn.diamond.redundant.args=\
94cfc5b65bed 6939780: add a warning to detect diamond sites
mcimadamore
parents: 7072
diff changeset
  1321
    redundant type arguments in new expression (use diamond operator instead).
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1322
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1323
# 0: type, 1: type
7081
94cfc5b65bed 6939780: add a warning to detect diamond sites
mcimadamore
parents: 7072
diff changeset
  1324
compiler.warn.diamond.redundant.args.1=\
94cfc5b65bed 6939780: add a warning to detect diamond sites
mcimadamore
parents: 7072
diff changeset
  1325
    redundant type arguments in new expression (use diamond operator instead).\n\
94cfc5b65bed 6939780: add a warning to detect diamond sites
mcimadamore
parents: 7072
diff changeset
  1326
    explicit: {0}\n\
94cfc5b65bed 6939780: add a warning to detect diamond sites
mcimadamore
parents: 7072
diff changeset
  1327
    inferred: {1}
94cfc5b65bed 6939780: add a warning to detect diamond sites
mcimadamore
parents: 7072
diff changeset
  1328
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1329
# 0: symbol, 1: message segment
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1330
compiler.warn.varargs.redundant.trustme.anno=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1331
    Redundant {0} annotation. {1}
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1332
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1333
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1334
06bc494ca11e Initial load
duke
parents:
diff changeset
  1335
## The following are tokens which are non-terminals in the language. They should
06bc494ca11e Initial load
duke
parents:
diff changeset
  1336
## be named as JLS3 calls them when translated to the appropriate language.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1337
compiler.misc.token.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1338
    <identifier>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1339
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1340
compiler.misc.token.character=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1341
    <character>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1342
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1343
compiler.misc.token.string=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1344
    <string>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1345
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1346
compiler.misc.token.integer=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1347
    <integer>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1348
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1349
compiler.misc.token.long-integer=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1350
    <long integer>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1351
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1352
compiler.misc.token.float=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1353
    <float>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1354
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1355
compiler.misc.token.double=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1356
    <double>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1357
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1358
compiler.misc.token.bad-symbol=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1359
    <bad symbol>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1360
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1361
compiler.misc.token.end-of-input=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1362
    <end of input>
06bc494ca11e Initial load
duke
parents:
diff changeset
  1363
06bc494ca11e Initial load
duke
parents:
diff changeset
  1364
## The argument to the following string will always be one of the following:
06bc494ca11e Initial load
duke
parents:
diff changeset
  1365
## 1. one of the above non-terminals
06bc494ca11e Initial load
duke
parents:
diff changeset
  1366
## 2. a keyword (JLS1.8)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1367
## 3. a boolean literal (JLS3.10.3)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1368
## 4. the null literal (JLS3.10.7)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1369
## 5. a Java separator (JLS3.11)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1370
## 6. an operator (JLS3.12)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1371
##
06bc494ca11e Initial load
duke
parents:
diff changeset
  1372
## This is the only place these tokens will be used.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1373
# 0: token
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1374
compiler.err.expected=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1375
    {0} expected
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1376
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1377
# 0: token, 1: token
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1378
compiler.err.expected2=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1379
    {0} or {1} expected
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1380
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1381
# 0: token, 1: token, 2: token
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1382
compiler.err.expected3=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1383
    {0}, {1}, or {2} expected
06bc494ca11e Initial load
duke
parents:
diff changeset
  1384
06bc494ca11e Initial load
duke
parents:
diff changeset
  1385
compiler.err.premature.eof=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1386
    reached end of file while parsing
06bc494ca11e Initial load
duke
parents:
diff changeset
  1387
06bc494ca11e Initial load
duke
parents:
diff changeset
  1388
## The following are related in form, but do not easily fit the above paradigm.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1389
compiler.err.dot.class.expected=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1390
    ''.class'' expected
06bc494ca11e Initial load
duke
parents:
diff changeset
  1391
06bc494ca11e Initial load
duke
parents:
diff changeset
  1392
## The argument to this string will always be either 'case' or 'default'.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1393
# 0: token
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1394
compiler.err.orphaned=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1395
    orphaned {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1396
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1397
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1398
compiler.misc.anonymous.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1399
    <anonymous {0}>
06bc494ca11e Initial load
duke
parents:
diff changeset
  1400
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1401
# 0: name, 1: type
1357
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1402
compiler.misc.type.captureof=\
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1403
    capture#{0} of {1}
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1404
2221
cd6557bcaa0a 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents: 2085
diff changeset
  1405
compiler.misc.type.captureof.1=\
cd6557bcaa0a 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents: 2085
diff changeset
  1406
    capture#{0}
cd6557bcaa0a 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents: 2085
diff changeset
  1407
1357
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1408
compiler.misc.type.none=\
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1409
    <none>
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1410
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1411
compiler.misc.unnamed.package=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1412
    unnamed package
06bc494ca11e Initial load
duke
parents:
diff changeset
  1413
06bc494ca11e Initial load
duke
parents:
diff changeset
  1414
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1415
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1416
# 0: symbol, 1: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1417
compiler.err.cant.access=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1418
    cannot access {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1419
    {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1420
06bc494ca11e Initial load
duke
parents:
diff changeset
  1421
compiler.misc.bad.class.file.header=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1422
    bad class file: {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1423
    {1}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1424
    Please remove or make sure it appears in the correct subdirectory of the classpath.
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1425
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1426
# 0: file name, 1: message segment
169
ff76730e430e 6668794: javac puts localized text in raw diagnostics
jjg
parents: 10
diff changeset
  1427
compiler.misc.bad.source.file.header=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1428
    bad source file: {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1429
    {1}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1430
    Please remove or make sure it appears in the correct subdirectory of the sourcepath.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1431
06bc494ca11e Initial load
duke
parents:
diff changeset
  1432
## The following are all possible strings for the second argument ({1}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  1433
## above strings.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1434
compiler.misc.bad.class.signature=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1435
    bad class signature: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1436
9077
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1437
#0: symbol, 1: symbol
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1438
compiler.misc.bad.enclosing.class=\
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1439
    bad enclosing class for {0}: {1}
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1440
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1441
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1442
compiler.misc.bad.enclosing.method=\
9077
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1443
    bad enclosing method attribute for class {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1444
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1445
compiler.misc.bad.runtime.invisible.param.annotations=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1446
    bad RuntimeInvisibleParameterAnnotations attribute: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1447
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1448
compiler.misc.bad.const.pool.tag=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1449
    bad constant pool tag: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1450
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1451
compiler.misc.bad.const.pool.tag.at=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1452
    bad constant pool tag: {0} at {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1453
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1454
compiler.misc.bad.signature=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1455
    bad signature: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1456
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1457
compiler.misc.class.file.wrong.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1458
    class file contains wrong class: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1459
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1460
compiler.misc.class.file.not.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1461
    class file for {0} not found
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1462
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1463
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1464
compiler.misc.file.doesnt.contain.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1465
    file does not contain class {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1466
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1467
compiler.misc.file.does.not.contain.package=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1468
    file does not contain package {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1469
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1470
compiler.misc.illegal.start.of.class.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1471
    illegal start of class file
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1472
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1473
compiler.misc.unable.to.access.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1474
    unable to access file: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1475
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1476
compiler.misc.unicode.str.not.supported=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1477
    unicode string in class file not supported
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1478
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1479
compiler.misc.undecl.type.var=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1480
    undeclared type variable: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1481
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1482
compiler.misc.wrong.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1483
    class file has wrong version {0}.{1}, should be {2}.{3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1484
06bc494ca11e Initial load
duke
parents:
diff changeset
  1485
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1486
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1487
# 0: type, 1: type or symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1488
compiler.err.not.within.bounds=\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1489
    type argument {0} is not within bounds of type-variable {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1490
06bc494ca11e Initial load
duke
parents:
diff changeset
  1491
## The following are all possible strings for the second argument ({1}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  1492
## above string.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1493
06bc494ca11e Initial load
duke
parents:
diff changeset
  1494
## none yet...
06bc494ca11e Initial load
duke
parents:
diff changeset
  1495
06bc494ca11e Initial load
duke
parents:
diff changeset
  1496
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1497
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1498
# 0: type, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1499
compiler.err.prob.found.req=\
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1500
    incompatible types\n\
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1501
    required: {0}\n\
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1502
    found: {1}
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1503
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1504
# 0: message segment
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1505
compiler.err.prob.found.req.1=\
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1506
    incompatible types: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1507
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1508
# 0: message segment, 1: type, 2: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1509
compiler.warn.prob.found.req=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1510
    {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1511
    required: {2}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1512
    found:    {1}
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1513
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1514
# 0: type, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1515
compiler.misc.inconvertible.types=\
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1516
    {0} cannot be converted to {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1517
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1518
compiler.misc.possible.loss.of.precision=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1519
    possible loss of precision
06bc494ca11e Initial load
duke
parents:
diff changeset
  1520
06bc494ca11e Initial load
duke
parents:
diff changeset
  1521
compiler.misc.unchecked.assign=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1522
    unchecked conversion
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1523
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1524
# compiler.misc.storecheck=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1525
#     assignment might cause later store checks to fail
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1526
# compiler.misc.unchecked=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1527
#     assigned array cannot dynamically check its stores
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1528
compiler.misc.unchecked.cast.to.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1529
    unchecked cast
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1530
06bc494ca11e Initial load
duke
parents:
diff changeset
  1531
# compiler.err.star.expected=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1532
#     ''*'' expected
06bc494ca11e Initial load
duke
parents:
diff changeset
  1533
# compiler.err.no.elem.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1534
#     \[\*\] cannot have a type
06bc494ca11e Initial load
duke
parents:
diff changeset
  1535
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1536
# 0: type
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1537
compiler.misc.try.not.applicable.to.type=\
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1538
    try-with-resources not applicable to variable type {0}\n\
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1539
    (expected a variable of type java.lang.AutoCloseable)
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1540
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1541
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1542
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1543
# 0: message segment or type, 1: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1544
compiler.err.type.found.req=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1545
    unexpected type\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1546
    required: {1}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1547
    found:    {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1548
06bc494ca11e Initial load
duke
parents:
diff changeset
  1549
## The following are all possible strings for the first argument ({0}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  1550
## above string.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1551
compiler.misc.type.req.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1552
    class
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1553
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1554
compiler.misc.type.req.class.array=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1555
    class or array
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1556
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1557
compiler.misc.type.req.array.or.iterable=\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1558
    array or java.lang.Iterable
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1559
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1560
compiler.misc.type.req.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1561
    reference
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1562
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1563
compiler.misc.type.req.exact=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1564
    class or interface without bounds
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1565
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1566
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1567
compiler.misc.type.parameter=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1568
    type parameter {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1569
06bc494ca11e Initial load
duke
parents:
diff changeset
  1570
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1571
06bc494ca11e Initial load
duke
parents:
diff changeset
  1572
## The following are all possible strings for the last argument of all those
06bc494ca11e Initial load
duke
parents:
diff changeset
  1573
## diagnostics whose key ends in ".1"
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1574
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1575
# 0: type, 1: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1576
compiler.misc.undetermined.type=\
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1577
    cannot infer type arguments for {0}\n\
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1578
    reason: {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1579
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1580
compiler.misc.type.variable.has.undetermined.type=\
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1581
    type variable {0} has undetermined type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1582
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1583
# 0: type, 1: list of type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1584
compiler.misc.no.unique.maximal.instance.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1585
    no unique maximal instance exists for type variable {0} with upper bounds {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1586
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1587
compiler.misc.no.unique.minimal.instance.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1588
    no unique minimal instance exists for type variable {0} with lower bounds {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1589
10628
dca7012223bc 7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents: 10626
diff changeset
  1590
# 0: type, 1: list of type
dca7012223bc 7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents: 10626
diff changeset
  1591
compiler.misc.incompatible.upper.bounds=\
dca7012223bc 7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents: 10626
diff changeset
  1592
    inference variable {0} has incompatible upper bounds {1}
dca7012223bc 7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents: 10626
diff changeset
  1593
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1594
# 0: list of type, 1: type, 2: type
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1595
compiler.misc.infer.no.conforming.instance.exists=\
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1596
    no instance(s) of type variable(s) {0} exist so that {1} conforms to {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1597
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1598
# 0: list of type, 1: type, 2: type
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1599
compiler.misc.infer.no.conforming.assignment.exists=\
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1600
    no instance(s) of type variable(s) {0} exist so that argument type {1} conforms to formal parameter type {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1601
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1602
compiler.misc.infer.arg.length.mismatch=\
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1603
    cannot instantiate from arguments because actual and formal argument lists differ in length
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1604
11707
532f41763bc9 7129801: Merge the two method applicability routines
mcimadamore
parents: 11383
diff changeset
  1605
# 0: list of type, 1: type, 2: type
532f41763bc9 7129801: Merge the two method applicability routines
mcimadamore
parents: 11383
diff changeset
  1606
compiler.misc.infer.varargs.argument.mismatch=\
532f41763bc9 7129801: Merge the two method applicability routines
mcimadamore
parents: 11383
diff changeset
  1607
    no instance(s) of type variable(s) {0} exist so that argument type {1} conforms to vararg element type {2}
532f41763bc9 7129801: Merge the two method applicability routines
mcimadamore
parents: 11383
diff changeset
  1608
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1609
# 0: type, 1: list of type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1610
compiler.misc.inferred.do.not.conform.to.bounds=\
3140
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
  1611
    inferred type does not conform to declared bound(s)\n\
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
  1612
    inferred: {0}\n\
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
  1613
    bound(s): {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1614
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1615
# 0: symbol
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1616
compiler.misc.diamond=\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1617
    {0}<>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1618
8431
21758b2bba40 7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents: 8428
diff changeset
  1619
# 0: type
21758b2bba40 7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents: 8428
diff changeset
  1620
compiler.misc.diamond.non.generic=\
21758b2bba40 7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents: 8428
diff changeset
  1621
    cannot use ''<>'' with non-generic class {0}
21758b2bba40 7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents: 8428
diff changeset
  1622
11053
48713f779b1d 7108669: cleanup Log methods for direct printing to streams
jjg
parents: 10816
diff changeset
  1623
# 0: unused
9604
d7152128d22f 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents: 9603
diff changeset
  1624
compiler.misc.diamond.and.explicit.params=\
d7152128d22f 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents: 9603
diff changeset
  1625
    cannot use ''<>'' with explicit type parameters for constructor
d7152128d22f 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents: 9603
diff changeset
  1626
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1627
# 0: type, 1: list of type
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1628
compiler.misc.explicit.param.do.not.conform.to.bounds=\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1629
    explicit type argument {0} does not conform to declared bound(s) {1}
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1630
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1631
compiler.misc.arg.length.mismatch=\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1632
    actual and formal argument lists differ in length
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1633
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1634
# 0: type, 1: type
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1635
compiler.misc.no.conforming.assignment.exists=\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1636
    actual argument {0} cannot be converted to {1} by method invocation conversion
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1637
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1638
# 0: type, 1: type
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1639
compiler.misc.varargs.argument.mismatch=\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1640
    argument type {0} does not conform to vararg element type {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1641
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1642
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1643
06bc494ca11e Initial load
duke
parents:
diff changeset
  1644
## The first argument ({0}) is a "kindname".
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1645
# 0: symbol kind, 1: symbol, 2: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1646
compiler.err.abstract.cant.be.accessed.directly=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1647
    abstract {0} {1} in {2} cannot be accessed directly
06bc494ca11e Initial load
duke
parents:
diff changeset
  1648
06bc494ca11e Initial load
duke
parents:
diff changeset
  1649
## The first argument ({0}) is a "kindname".
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1650
# 0: symbol kind, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1651
compiler.err.non-static.cant.be.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1652
    non-static {0} {1} cannot be referenced from a static context
06bc494ca11e Initial load
duke
parents:
diff changeset
  1653
06bc494ca11e Initial load
duke
parents:
diff changeset
  1654
## Both arguments ({0}, {1}) are "kindname"s.  {0} is a comma-separated list
06bc494ca11e Initial load
duke
parents:
diff changeset
  1655
## of kindnames (the list should be identical to that provided in source.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1656
compiler.err.unexpected.type=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1657
    unexpected type\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1658
    required: {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1659
    found:    {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1660
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1661
## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.)
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1662
## The second argument {1} is the non-resolved symbol
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1663
## The third argument {2} is a list of type parameters (non-empty if {1} is a method)
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1664
## The fourth argument {3} is a list of argument types (non-empty if {1} is a method)
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1665
# 0: symbol kind, 1: name, 2: unused, 3: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1666
compiler.err.cant.resolve=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1667
    cannot find symbol\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1668
    symbol: {0} {1}
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1669
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1670
# 0: symbol kind, 1: name, 2: unused, 3: list of type
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1671
compiler.err.cant.resolve.args=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1672
    cannot find symbol\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1673
    symbol: {0} {1}({3})
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1674
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1675
# 0: symbol kind, 1: name, 2: list of type, 3: list of type
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1676
compiler.err.cant.resolve.args.params=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1677
    cannot find symbol\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1678
    symbol: {0} <{2}>{1}({3})
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1679
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1680
## arguments from {0} to {3} have the same meaning as above
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1681
## The fifth argument {4} is a location subdiagnostic (see below)
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1682
# 0: symbol kind, 1: name, 2: unused, 3: unused, 4: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1683
compiler.err.cant.resolve.location=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1684
    cannot find symbol\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1685
    symbol:   {0} {1}\n\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1686
    location: {4}
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1687
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1688
# 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1689
compiler.err.cant.resolve.location.args=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1690
    cannot find symbol\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1691
    symbol:   {0} {1}({3})\n\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1692
    location: {4}
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1693
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1694
# 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1695
compiler.err.cant.resolve.location.args.params=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1696
    cannot find symbol\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1697
    symbol:   {0} <{2}>{1}({3})\n\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1698
    location: {4}
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1699
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1700
##a location subdiagnostic is composed as follows:
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1701
## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.)
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1702
## The second argument {1} is the location name
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1703
## The third argument {2} is the location type (only when {1} is a variable name)
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1704
11053
48713f779b1d 7108669: cleanup Log methods for direct printing to streams
jjg
parents: 10816
diff changeset
  1705
# 0: symbol kind, 1: type or symbol, 2: unused
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1706
compiler.misc.location=\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1707
    {0} {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1708
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1709
# 0: symbol kind, 1: symbol, 2: type
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1710
compiler.misc.location.1=\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1711
    {0} {1} of type {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1712
06bc494ca11e Initial load
duke
parents:
diff changeset
  1713
## The following are all possible string for "kindname".
06bc494ca11e Initial load
duke
parents:
diff changeset
  1714
## They should be called whatever the JLS calls them after it been translated
06bc494ca11e Initial load
duke
parents:
diff changeset
  1715
## to the appropriate language.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1716
# compiler.misc.kindname.constructor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1717
#     static member
06bc494ca11e Initial load
duke
parents:
diff changeset
  1718
compiler.misc.kindname.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1719
    @interface
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1720
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1721
compiler.misc.kindname.constructor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1722
    constructor
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1723
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1724
compiler.misc.kindname.enum=\
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1725
    enum
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1726
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1727
compiler.misc.kindname.interface=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1728
    interface
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1729
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1730
compiler.misc.kindname.static=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1731
    static
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1732
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1733
compiler.misc.kindname.type.variable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1734
    type variable
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1735
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1736
compiler.misc.kindname.type.variable.bound=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1737
    bound of type variable
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1738
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1739
compiler.misc.kindname.variable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1740
    variable
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1741
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1742
compiler.misc.kindname.value=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1743
    value
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1744
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1745
compiler.misc.kindname.method=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1746
    method
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1747
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1748
compiler.misc.kindname.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1749
    class
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1750
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1751
compiler.misc.kindname.package=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1752
    package
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1753
10626
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  1754
compiler.misc.kindname.static.init=\
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  1755
    static initializer
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  1756
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  1757
compiler.misc.kindname.instance.init=\
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  1758
    instance initializer
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  1759
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1760
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1761
1534
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1762
compiler.misc.no.args=\
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1763
    no arguments
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1764
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1765
# 0: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1766
compiler.err.override.static=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1767
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1768
    overriding method is static
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1769
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1770
# 0: message segment, 1: set of modifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1771
compiler.err.override.meth=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1772
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1773
    overridden method is {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1774
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1775
# 0: message segment, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1776
compiler.err.override.meth.doesnt.throw=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1777
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1778
    overridden method does not throw {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1779
06bc494ca11e Initial load
duke
parents:
diff changeset
  1780
# In the following string {1} is a space separated list of Java Keywords, as
06bc494ca11e Initial load
duke
parents:
diff changeset
  1781
# they would have been declared in the source code
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1782
# 0: message segment, 1: set of modifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1783
compiler.err.override.weaker.access=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1784
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1785
    attempting to assign weaker access privileges; was {1}
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1786
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1787
# 0: message segment, 1: type, 2: type
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1788
compiler.err.override.incompatible.ret=\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1789
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1790
    return type {1} is not compatible with {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1791
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1792
# 0: message segment, 1: type, 2: type
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1793
compiler.warn.override.unchecked.ret=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1794
    {0}\n\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1795
    return type requires unchecked conversion from {1} to {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1796
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1797
# 0: message segment, 1: type
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1798
compiler.warn.override.unchecked.thrown=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1799
    {0}\n\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1800
    overridden method does not throw {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1801
06bc494ca11e Initial load
duke
parents:
diff changeset
  1802
## The following are all possible strings for the first argument ({0}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  1803
## above strings.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1804
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1805
compiler.misc.cant.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1806
    {0} in {1} cannot override {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1807
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1808
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1809
compiler.misc.cant.implement=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1810
    {0} in {1} cannot implement {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1811
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1812
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1813
compiler.misc.clashes.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1814
    {0} in {1} clashes with {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1815
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1816
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1817
compiler.misc.unchecked.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1818
    {0} in {1} overrides {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1819
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1820
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1821
compiler.misc.unchecked.implement=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1822
    {0} in {1} implements {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1823
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1824
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1825
compiler.misc.unchecked.clash.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1826
    {0} in {1} overrides {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1827
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1828
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1829
compiler.misc.varargs.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1830
    {0} in {1} overrides {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1831
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1832
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1833
compiler.misc.varargs.implement=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1834
    {0} in {1} implements {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1835
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1836
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1837
compiler.misc.varargs.clash.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1838
    {0} in {1} overrides {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1839
11053
48713f779b1d 7108669: cleanup Log methods for direct printing to streams
jjg
parents: 10816
diff changeset
  1840
# 0: unused
8635
383a416a2bdf 7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
mcimadamore
parents: 8431
diff changeset
  1841
compiler.misc.diamond.and.anon.class=\
383a416a2bdf 7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
mcimadamore
parents: 8431
diff changeset
  1842
    cannot use ''<>'' with anonymous inner classes
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1843
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1844
# 0: symbol kind, 1: symbol, 2: symbol, 3: message segment
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1845
compiler.misc.inapplicable.method=\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1846
    {0} {1}.{2} is not applicable\n\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1847
    ({3})
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  1848
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1849
########################################
06bc494ca11e Initial load
duke
parents:
diff changeset
  1850
# Diagnostics for language feature changes
06bc494ca11e Initial load
duke
parents:
diff changeset
  1851
########################################
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1852
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1853
compiler.err.unsupported.fp.lit=\
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1854
    hexadecimal floating point literals are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1855
    (use -source 5 or higher to enable hexadecimal floating point literals)
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1856
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1857
# 0: string
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1858
compiler.err.unsupported.binary.lit=\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1859
    binary literals are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1860
    (use -source 7 or higher to enable binary literals)
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1861
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1862
# 0: string
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1863
compiler.err.unsupported.underscore.lit=\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1864
    underscores in literals are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1865
    (use -source 7 or higher to enable underscores in literals)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1866
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1867
# 0: string
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1868
compiler.err.try.with.resources.not.supported.in.source=\
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1869
    try-with-resources is not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1870
    (use -source 7 or higher to enable try-with-resources)
6148
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
  1871
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1872
compiler.warn.enum.as.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1873
    as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1874
    (use -source 5 or higher to use ''enum'' as a keyword)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1875
06bc494ca11e Initial load
duke
parents:
diff changeset
  1876
compiler.warn.assert.as.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1877
    as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1878
    (use -source 1.4 or higher to use ''assert'' as a keyword)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1879
06bc494ca11e Initial load
duke
parents:
diff changeset
  1880
compiler.err.enum.as.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1881
    as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1882
    (use -source 1.4 or lower to use ''enum'' as an identifier)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1883
06bc494ca11e Initial load
duke
parents:
diff changeset
  1884
compiler.err.assert.as.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1885
    as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1886
    (use -source 1.3 or lower to use ''assert'' as an identifier)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1887
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1888
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1889
compiler.err.generics.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1890
    generics are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1891
    (use -source 5 or higher to enable generics)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1892
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1893
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1894
compiler.err.varargs.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1895
    variable-arity methods are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1896
    (use -source 5 or higher to enable variable-arity methods)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1897
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1898
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1899
compiler.err.annotations.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1900
    annotations are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1901
    (use -source 5 or higher to enable annotations)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1902
7072
4863847e93a5 6987760: remove 308 support from JDK7
jjg
parents: 6710
diff changeset
  1903
#308 compiler.err.type.annotations.not.supported.in.source=\
4863847e93a5 6987760: remove 308 support from JDK7
jjg
parents: 6710
diff changeset
  1904
#308     type annotations are not supported in -source {0}\n\
4863847e93a5 6987760: remove 308 support from JDK7
jjg
parents: 6710
diff changeset
  1905
#308 (use -source 7 or higher to enable type annotations)
3149
0cd06d598d6f 6843077: JSR 308: Annotations on types
jjg
parents: 3140
diff changeset
  1906
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1907
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1908
compiler.err.foreach.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1909
    for-each loops are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1910
    (use -source 5 or higher to enable for-each loops)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1911
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1912
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1913
compiler.err.static.import.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1914
    static import declarations are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1915
    (use -source 5 or higher to enable static import declarations)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1916
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1917
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1918
compiler.err.enums.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1919
    enums are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1920
    (use -source 5 or higher to enable enums)
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1921
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1922
# 0: string
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1923
compiler.err.diamond.not.supported.in.source=\
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1924
    diamond operator is not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1925
    (use -source 7 or higher to enable diamond operator)
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1926
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1927
# 0: string
5492
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
  1928
compiler.err.multicatch.not.supported.in.source=\
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
  1929
    multi-catch statement is not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1930
    (use -source 7 or higher to enable multi-catch statement)
5492
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
  1931
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1932
# 0: string
4142
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  1933
compiler.err.string.switch.not.supported.in.source=\
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  1934
    strings in switch are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1935
    (use -source 7 or higher to enable strings in switch)
4142
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  1936
11143
9dbe313bfb74 7115050: Add parser support for lambda expressions
mcimadamore
parents: 11053
diff changeset
  1937
# 0: string
9dbe313bfb74 7115050: Add parser support for lambda expressions
mcimadamore
parents: 11053
diff changeset
  1938
compiler.err.lambda.not.supported.in.source=\
9dbe313bfb74 7115050: Add parser support for lambda expressions
mcimadamore
parents: 11053
diff changeset
  1939
    lambda expressions are not supported in -source {0}\n\
9dbe313bfb74 7115050: Add parser support for lambda expressions
mcimadamore
parents: 11053
diff changeset
  1940
    (use -source 8 or higher to enable lambda expressions)
9dbe313bfb74 7115050: Add parser support for lambda expressions
mcimadamore
parents: 11053
diff changeset
  1941
11144
8a4ae514eedf 7115052: Add parser support for method references
mcimadamore
parents: 11143
diff changeset
  1942
# 0: string
8a4ae514eedf 7115052: Add parser support for method references
mcimadamore
parents: 11143
diff changeset
  1943
compiler.err.method.references.not.supported.in.source=\
8a4ae514eedf 7115052: Add parser support for method references
mcimadamore
parents: 11143
diff changeset
  1944
    method references are not supported in -source {0}\n\
8a4ae514eedf 7115052: Add parser support for method references
mcimadamore
parents: 11143
diff changeset
  1945
    (use -source 8 or higher to enable method references)
8a4ae514eedf 7115052: Add parser support for method references
mcimadamore
parents: 11143
diff changeset
  1946
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1947
########################################
10816
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1948
# Diagnostics for verbose resolution
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1949
# used by Resolve (debug only)
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1950
########################################
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1951
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1952
# 0: number, 1: symbol, 2: unused
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1953
compiler.misc.applicable.method.found=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1954
    #{0} applicable method found: {1}
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1955
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1956
# 0: number, 1: symbol, 2: message segment
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1957
compiler.misc.applicable.method.found.1=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1958
    #{0} applicable method found: {1}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1959
    ({2})
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1960
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1961
# 0: number, 1: symbol, 2: message segment
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1962
compiler.misc.not.applicable.method.found=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1963
    #{0} not applicable method found: {1}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1964
    ({2})
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1965
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1966
# 0: type
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1967
compiler.misc.full.inst.sig=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1968
    fully instantiated to: {0}
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1969
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1970
# 0: type
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1971
compiler.misc.partial.inst.sig=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1972
    partially instantiated to: {0}
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1973
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1974
# 0: name, 1: symbol, 2: number, 3: MethodResolutionPhase, 4: list of type or message segment, 5: list of type or message segment
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1975
compiler.note.verbose.resolve.multi=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1976
    resolving method {0} in type {1} to candidate {2}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1977
    phase: {3}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1978
    with actuals: {4}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1979
    with type-args: {5}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1980
    candidates:
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1981
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1982
# 0: name, 1: symbol, 2: unused, 3: MethodResolutionPhase, 4: list of type or message segment, 5: list of type or message segment
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1983
compiler.note.verbose.resolve.multi.1=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1984
    erroneous resolution for method {0} in type {1}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1985
    phase: {3}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1986
    with actuals: {4}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1987
    with type-args: {5}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1988
    candidates:
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1989
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1990
# 0: symbol, 1: type, 2: type
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1991
compiler.note.deferred.method.inst=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1992
    Deferred instantiation of method {0}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1993
    instantiated signature: {1}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1994
    target-type: {2}
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1995
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  1996
########################################
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1997
# Diagnostics for where clause implementation
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1998
# used by the RichDiagnosticFormatter.
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1999
########################################
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2000
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2001
compiler.misc.type.null=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2002
    <null>
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2003
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2004
# X#n (where n is an int id) is disambiguated tvar name
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2005
# 0: name, 1: number
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2006
compiler.misc.type.var=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2007
    {0}#{1}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2008
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2009
# CAP#n (where n is an int id) is an abbreviation for 'captured type'
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2010
# 0: number
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2011
compiler.misc.captured.type=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2012
    CAP#{0}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2013
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2014
# <INT#n> (where n is an int id) is an abbreviation for 'intersection type'
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2015
# 0: number
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2016
compiler.misc.intersection.type=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2017
    INT#{0}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2018
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2019
# where clause for captured type: contains upper ('extends {1}') and lower
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2020
# ('super {2}') bound along with the wildcard that generated this captured type ({3})
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2021
# 0: type, 1: type, 2: type, 3: type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2022
compiler.misc.where.captured=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2023
    {0} extends {1} super: {2} from capture of {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2024
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2025
# compact where clause for captured type: contains upper ('extends {1}') along
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2026
# with the wildcard that generated this captured type ({3})
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2027
# 0: type, 1: type, 2: unused, 3: type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2028
compiler.misc.where.captured.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2029
    {0} extends {1} from capture of {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2030
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2031
# where clause for type variable: contains upper bound(s) ('extends {1}') along with
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2032
# the kindname ({2}) and location ({3}) in which the typevar has been declared
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2033
# 0: type, 1: list of type, 2: symbol kind, 3: symbol
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2034
compiler.misc.where.typevar=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2035
    {0} extends {1} declared in {2} {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2036
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2037
# compact where clause for type variable: contains the kindname ({2}) and location ({3})
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2038
# in which the typevar has been declared
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2039
compiler.misc.where.typevar.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2040
    {0} declared in {2} {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2041
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2042
# where clause for type variable: contains all the upper bound(s) ('extends {1}')
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2043
# of this intersection type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2044
# 0: type, 1: list of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2045
compiler.misc.where.intersection=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2046
    {0} extends {1}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2047
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2048
### Where clause headers ###
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2049
compiler.misc.where.description.captured=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2050
    where {0} is a fresh type-variable:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2051
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2052
# 0: set of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2053
compiler.misc.where.description.typevar=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2054
    where {0} is a type-variable:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2055
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2056
# 0: set of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2057
compiler.misc.where.description.intersection=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2058
    where {0} is an intersection type:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2059
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2060
# 0: set of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2061
compiler.misc.where.description.captured.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2062
    where {0} are fresh type-variables:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2063
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2064
# 0: set of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2065
compiler.misc.where.description.typevar.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2066
    where {0} are type-variables:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2067
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2068
compiler.misc.where.description.intersection.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2069
    where {0} are intersection types:
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2070
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2071