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