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