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