author | jlahoda |
Mon, 31 Mar 2014 21:27:25 +0200 | |
changeset 23800 | f7ffcfe938f2 |
parent 23790 | 0697e38017ec |
child 23809 | 9405883da95f |
permissions | -rw-r--r-- |
10 | 1 |
# |
22701
67811024e8b4
8030091: Request to update error messages from javac for negative varargs test cases
jlahoda
parents:
21712
diff
changeset
|
2 |
# Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. |
10 | 3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
# |
|
5 |
# This code is free software; you can redistribute it and/or modify it |
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
|
5520 | 7 |
# published by the Free Software Foundation. Oracle designates this |
10 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5520 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
10 | 10 |
# |
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
5520 | 21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
10 | 24 |
# |
25 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
26 |
# Messages in this file which use "placeholders" for values (e.g. {0}, {1}) |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
27 |
# are preceded by a stylized comment describing the type of the corresponding |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
28 |
# values. |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
29 |
# The types currently in use are |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
30 |
# |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
31 |
# boolean true or false |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
32 |
# file name the name of an input file; e.g. MyFile.java |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
33 |
# message segment a sub-message; see compiler.misc.* |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
34 |
# modifier a Java modifier; e.g. public, private, protected |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
35 |
# name a name, typically a Java identifier |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
36 |
# number an integer |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
37 |
# option name the name of a command line option |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
38 |
# source version a source version number, such as 1.5, 1.6, 1.7 |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
39 |
# string a general string |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
40 |
# symbol the name of a declared type |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
41 |
# symbol kind a description of the kind of a declaration; see compiler.misc.kindname.* |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
42 |
# token the name of a non-terminal in source code; see compiler.misc.token.* |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
43 |
# type a Java type; e.g. int, X, X<T> |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
44 |
# unused the value is not used in this message |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
45 |
# |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
46 |
# list of X a comma-separated list of items; e.g. list of type |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
47 |
# X or Y alternation; e.g. message segment or type |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
48 |
# set of X a comma-separated collection of items; e.g. set of modifier |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
49 |
# |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
50 |
# These may be composed: e.g. list of type or message segment |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
51 |
# |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
52 |
# These comments are verified by the jtreg test test/tools/javac/diags/MessageInfo, |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
53 |
# using info derived from the collected set of examples in test/tools/javac/diags/examples. |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
54 |
# MessageInfo can also be run as a standalone utility providing more facilities |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
55 |
# for manipulating this file. For more details, see MessageInfo.java. |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
56 |
|
10 | 57 |
## |
58 |
## errors |
|
59 |
## |
|
60 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
61 |
# 0: symbol |
10 | 62 |
compiler.err.abstract.cant.be.instantiated=\ |
63 |
{0} is abstract; cannot be instantiated |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
64 |
|
10 | 65 |
compiler.err.abstract.meth.cant.have.body=\ |
66 |
abstract methods cannot have a body |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
67 |
|
10 | 68 |
compiler.err.already.annotated=\ |
69 |
{0} {1} has already been annotated |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
70 |
|
10626
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
71 |
# 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol |
10 | 72 |
compiler.err.already.defined=\ |
10626
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
73 |
{0} {1} is already defined in {2} {3} |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
74 |
|
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
75 |
# 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol kind, 4: symbol |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
76 |
compiler.err.already.defined.in.clinit=\ |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
77 |
{0} {1} is already defined in {2} of {3} {4} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
78 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
79 |
# 0: string |
10 | 80 |
compiler.err.already.defined.single.import=\ |
21009 | 81 |
a type with the same simple name is already defined by the single-type-import of {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
82 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
83 |
# 0: string |
10 | 84 |
compiler.err.already.defined.static.single.import=\ |
21009 | 85 |
a type with the same simple name is already defined by the static single-type-import of {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
86 |
|
10 | 87 |
compiler.err.already.defined.this.unit=\ |
88 |
{0} is already defined in this compilation unit |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
89 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
90 |
# 0: type, 1: list of name |
10 | 91 |
compiler.err.annotation.missing.default.value=\ |
21009 | 92 |
annotation @{0} is missing a default value for the element ''{1}'' |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
93 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
94 |
# 0: type, 1: list of name |
6345
7d98c298aafd
6975231: Regression test for 6881115 is failing with compiler output not matching expected output
mcimadamore
parents:
6157
diff
changeset
|
95 |
compiler.err.annotation.missing.default.value.1=\ |
21009 | 96 |
annotation @{0} is missing default values for elements {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
97 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
98 |
# 0: type |
10 | 99 |
compiler.err.annotation.not.valid.for.type=\ |
21009 | 100 |
annotation not valid for an element of type {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
101 |
|
10 | 102 |
compiler.err.annotation.type.not.applicable=\ |
103 |
annotation type not applicable to this kind of declaration |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
104 |
|
10 | 105 |
compiler.err.annotation.value.must.be.annotation=\ |
106 |
annotation value must be an annotation |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
107 |
|
10 | 108 |
compiler.err.annotation.value.must.be.class.literal=\ |
109 |
annotation value must be a class literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
110 |
|
10 | 111 |
compiler.err.annotation.value.must.be.name.value=\ |
112 |
annotation values must be of the form ''name=value'' |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
113 |
|
10 | 114 |
compiler.err.annotation.value.not.allowable.type=\ |
115 |
annotation value not of an allowable type |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
116 |
|
10 | 117 |
compiler.err.anon.class.impl.intf.no.args=\ |
118 |
anonymous class implements interface; cannot have arguments |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
119 |
|
10 | 120 |
compiler.err.anon.class.impl.intf.no.typeargs=\ |
121 |
anonymous class implements interface; cannot have type arguments |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
122 |
|
10 | 123 |
compiler.err.anon.class.impl.intf.no.qual.for.new=\ |
124 |
anonymous class implements interface; cannot have qualifier for new |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
125 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
126 |
# 0: symbol, 1: symbol, 2: symbol |
10 | 127 |
compiler.err.array.and.varargs=\ |
128 |
cannot declare both {0} and {1} in {2} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
129 |
|
10 | 130 |
compiler.err.array.dimension.missing=\ |
131 |
array dimension missing |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
132 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
133 |
# 0: type |
10 | 134 |
compiler.err.array.req.but.found=\ |
135 |
array required, but {0} found |
|
136 |
||
137 |
compiler.err.attribute.value.must.be.constant=\ |
|
21009 | 138 |
element value must be a constant expression |
10 | 139 |
|
12715
139b8354de6a
7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
ksrini
parents:
12468
diff
changeset
|
140 |
# 0: statement type |
139b8354de6a
7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
ksrini
parents:
12468
diff
changeset
|
141 |
compiler.err.bad.initializer=\ |
139b8354de6a
7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
ksrini
parents:
12468
diff
changeset
|
142 |
bad initializer for {0} |
139b8354de6a
7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
ksrini
parents:
12468
diff
changeset
|
143 |
|
10 | 144 |
compiler.err.break.outside.switch.loop=\ |
145 |
break outside switch or loop |
|
146 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
147 |
# 0: name |
10 | 148 |
compiler.err.call.must.be.first.stmt.in.ctor=\ |
149 |
call to {0} must be first statement in constructor |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
150 |
|
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
151 |
# 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 |
10 | 152 |
compiler.err.cant.apply.symbol=\ |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
153 |
{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
|
154 |
required: {2}\n\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
155 |
found: {3}\n\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
156 |
reason: {6} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
157 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
158 |
# 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
|
159 |
compiler.err.cant.apply.symbols=\ |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
160 |
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
|
161 |
|
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
162 |
# 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 |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
163 |
compiler.misc.cant.apply.symbol=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
164 |
{0} {1} in {4} {5} cannot be applied to given types\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
165 |
required: {2}\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
166 |
found: {3}\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
167 |
reason: {6} |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
168 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
169 |
# 0: symbol kind, 1: name, 2: list of type |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
170 |
compiler.misc.cant.apply.symbols=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
171 |
no suitable {0} found for {1}({2}) |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
172 |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
173 |
# 0: symbol kind, 1: symbol |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
174 |
compiler.misc.no.abstracts=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
175 |
no abstract method found in {0} {1} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
176 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
177 |
# 0: symbol kind, 1: symbol |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
178 |
compiler.misc.incompatible.abstracts=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
179 |
multiple non-overriding abstract methods found in {0} {1} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
180 |
|
15361
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
181 |
compiler.err.bad.functional.intf.anno=\ |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
182 |
Unexpected @FunctionalInterface annotation |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
183 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
184 |
# 0: message segment |
15361
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
185 |
compiler.err.bad.functional.intf.anno.1=\ |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
186 |
Unexpected @FunctionalInterface annotation\n\ |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
187 |
{0} |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
188 |
|
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
189 |
# 0: symbol |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
190 |
compiler.misc.not.a.functional.intf=\ |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
191 |
{0} is not a functional interface |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
192 |
|
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
193 |
# 0: symbol, 1: message segment |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
194 |
compiler.misc.not.a.functional.intf.1=\ |
15361
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
195 |
{0} is not a functional interface\n\ |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
196 |
{1} |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
197 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
198 |
# 0: symbol, 1: symbol kind, 2: symbol |
14723
46aa71a5e4e0
8004102: Add support for generic functional descriptors
mcimadamore
parents:
14547
diff
changeset
|
199 |
compiler.misc.invalid.generic.lambda.target=\ |
46aa71a5e4e0
8004102: Add support for generic functional descriptors
mcimadamore
parents:
14547
diff
changeset
|
200 |
invalid functional descriptor for lambda expression\n\ |
46aa71a5e4e0
8004102: Add support for generic functional descriptors
mcimadamore
parents:
14547
diff
changeset
|
201 |
method {0} in {1} {2} is generic |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
202 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
203 |
# 0: symbol kind, 1: symbol |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
204 |
compiler.misc.incompatible.descs.in.functional.intf=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
205 |
incompatible function descriptors found in {0} {1} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
206 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
207 |
# 0: name, 1: list of type, 2: type, 3: list of type |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
208 |
compiler.misc.descriptor=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
209 |
descriptor: {2} {0}({1}) |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
210 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
211 |
# 0: name, 1: list of type, 2: type, 3: list of type |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
212 |
compiler.misc.descriptor.throws=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
213 |
descriptor: {2} {0}({1}) throws {3} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
214 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
215 |
# 0: type |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
216 |
compiler.misc.no.suitable.functional.intf.inst=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
217 |
cannot infer functional interface descriptor for {0} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
218 |
|
16809
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
219 |
# 0: message segment |
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
220 |
compiler.misc.bad.intersection.target.for.functional.expr=\ |
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
221 |
bad intersection type target for lambda or method reference\n\ |
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
222 |
{0} |
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
223 |
|
17578 | 224 |
# 0: symbol or type |
16809
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
225 |
compiler.misc.not.an.intf.component=\ |
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
226 |
component type {0} is not an interface |
14725
65836e833f59
8002099: Add support for intersection types in cast expression
mcimadamore
parents:
14724
diff
changeset
|
227 |
|
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
228 |
# 0: symbol kind, 1: message segment |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
229 |
compiler.err.invalid.mref=\ |
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
230 |
invalid {0} reference\n\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
231 |
{1} |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
232 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
233 |
# 0: symbol kind, 1: message segment |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
234 |
compiler.misc.invalid.mref=\ |
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
235 |
invalid {0} reference\n\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
236 |
{1} |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
237 |
|
14724
b542db73539a
8004101: Add checks for method reference well-formedness
mcimadamore
parents:
14723
diff
changeset
|
238 |
compiler.misc.static.mref.with.targs=\ |
b542db73539a
8004101: Add checks for method reference well-formedness
mcimadamore
parents:
14723
diff
changeset
|
239 |
parameterized qualifier on static method reference |
b542db73539a
8004101: Add checks for method reference well-formedness
mcimadamore
parents:
14723
diff
changeset
|
240 |
|
b542db73539a
8004101: Add checks for method reference well-formedness
mcimadamore
parents:
14723
diff
changeset
|
241 |
compiler.misc.static.bound.mref=\ |
b542db73539a
8004101: Add checks for method reference well-formedness
mcimadamore
parents:
14723
diff
changeset
|
242 |
static bound method reference |
b542db73539a
8004101: Add checks for method reference well-formedness
mcimadamore
parents:
14723
diff
changeset
|
243 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
244 |
# 0: symbol |
10 | 245 |
compiler.err.cant.assign.val.to.final.var=\ |
246 |
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
|
247 |
|
13439
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
248 |
# 0: symbol, 1: message segment |
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
249 |
compiler.err.cant.ref.non.effectively.final.var=\ |
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
250 |
local variables referenced from {1} must be final or effectively final |
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
251 |
|
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
252 |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
253 |
compiler.misc.lambda=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
254 |
a lambda expression |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
255 |
|
13439
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
256 |
compiler.misc.inner.cls=\ |
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
257 |
an inner class |
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
258 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
259 |
# 0: type |
10 | 260 |
compiler.err.cant.deref=\ |
261 |
{0} cannot be dereferenced |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
262 |
|
10 | 263 |
compiler.err.cant.extend.intf.annotation=\ |
264 |
''extends'' not allowed for @interfaces |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
265 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
266 |
# 0: symbol |
10 | 267 |
compiler.err.cant.inherit.from.final=\ |
268 |
cannot inherit from final {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
269 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
270 |
# 0: symbol |
10 | 271 |
compiler.err.cant.ref.before.ctor.called=\ |
272 |
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
|
273 |
|
10 | 274 |
compiler.err.cant.select.static.class.from.param.type=\ |
275 |
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
|
276 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
277 |
# 0: symbol, 1: string, 2: string |
10 | 278 |
compiler.err.cant.inherit.diff.arg=\ |
279 |
{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
|
280 |
|
10 | 281 |
compiler.err.catch.without.try=\ |
282 |
''catch'' without ''try'' |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
283 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
284 |
# 0: symbol kind, 1: symbol |
10 | 285 |
compiler.err.clash.with.pkg.of.same.name=\ |
8045 | 286 |
{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
|
287 |
|
12466
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
288 |
compiler.err.class.not.allowed=\ |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
289 |
class, interface or enum declaration not allowed here |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
290 |
|
10 | 291 |
compiler.err.const.expr.req=\ |
292 |
constant expression required |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
293 |
|
10 | 294 |
compiler.err.cont.outside.loop=\ |
295 |
continue outside of loop |
|
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 |
10 | 298 |
compiler.err.cyclic.inheritance=\ |
299 |
cyclic inheritance involving {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
300 |
|
21009 | 301 |
# 0: symbol |
10 | 302 |
compiler.err.cyclic.annotation.element=\ |
21009 | 303 |
type of element {0} is cyclic |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
304 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
305 |
# 0: unused |
10 | 306 |
compiler.err.call.to.super.not.allowed.in.enum.ctor=\ |
307 |
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
|
308 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
309 |
# 0: type |
10 | 310 |
compiler.err.no.superclass=\ |
21009 | 311 |
{0} has no superclass. |
10 | 312 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
313 |
# 0: symbol, 1: type, 2: symbol, 3: type, 4: unused |
10 | 314 |
compiler.err.concrete.inheritance.conflict=\ |
315 |
methods {0} from {1} and {2} from {3} are inherited with the same signature |
|
316 |
||
317 |
compiler.err.default.allowed.in.intf.annotation.member=\ |
|
21009 | 318 |
default value only allowed in an annotation type declaration |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
319 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
320 |
# 0: symbol |
10 | 321 |
compiler.err.doesnt.exist=\ |
322 |
package {0} does not exist |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
323 |
|
14804
f93a8d60b9a4
8001114: Container annotation is not checked for semantic correctness
jfranck
parents:
14725
diff
changeset
|
324 |
# 0: type |
f93a8d60b9a4
8001114: Container annotation is not checked for semantic correctness
jfranck
parents:
14725
diff
changeset
|
325 |
compiler.err.duplicate.annotation.invalid.repeated=\ |
21009 | 326 |
annotation {0} is not a valid repeatable annotation |
14804
f93a8d60b9a4
8001114: Container annotation is not checked for semantic correctness
jfranck
parents:
14725
diff
changeset
|
327 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
328 |
# 0: name, 1: type |
10 | 329 |
compiler.err.duplicate.annotation.member.value=\ |
21009 | 330 |
duplicate element ''{0}'' in annotation @{1}. |
331 |
||
332 |
# 0: name, 1: unused |
|
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
333 |
compiler.err.duplicate.annotation.missing.container=\ |
21009 | 334 |
{0} is not a repeatable annotation type |
335 |
||
336 |
# 0: type, 1: unused |
|
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
337 |
compiler.err.invalid.repeatable.annotation=\ |
21009 | 338 |
duplicate annotation: {0} is annotated with an invalid @Repeatable annotation |
17578 | 339 |
|
340 |
# 0: symbol or type |
|
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
341 |
compiler.err.invalid.repeatable.annotation.no.value=\ |
21009 | 342 |
{0} is not a valid @Repeatable, no value element method declared |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
343 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
344 |
# 0: type, 1: number |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
345 |
compiler.err.invalid.repeatable.annotation.multiple.values=\ |
21009 | 346 |
{0} is not a valid @Repeatable, {1} element methods named ''value'' declared |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
347 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
348 |
# 0: type |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
349 |
compiler.err.invalid.repeatable.annotation.invalid.value=\ |
21009 | 350 |
{0} is not a valid @Repeatable: invalid value element |
351 |
||
352 |
# 0: symbol type, 1: unused, 2: type |
|
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
353 |
compiler.err.invalid.repeatable.annotation.value.return=\ |
21009 | 354 |
containing annotation type ({0}) must declare an element named ''value'' of type {2} |
17578 | 355 |
|
356 |
# 0: symbol or type, 1: symbol |
|
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
357 |
compiler.err.invalid.repeatable.annotation.elem.nondefault=\ |
21009 | 358 |
containing annotation type ({0}) does not have a default value for element {1} |
359 |
||
360 |
# 0: symbol, 1: unused, 2: symbol, 3: unused |
|
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
361 |
compiler.err.invalid.repeatable.annotation.retention=\ |
21009 | 362 |
retention of containing annotation type ({0}) is shorter than the retention of repeatable annotation type ({2}) |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
363 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
364 |
# 0: symbol, 1: symbol |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
365 |
compiler.err.invalid.repeatable.annotation.not.documented=\ |
21009 | 366 |
repeatable annotation type ({1}) is @Documented while containing annotation type ({0}) is not |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
367 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
368 |
# 0: symbol, 1: symbol |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
369 |
compiler.err.invalid.repeatable.annotation.not.inherited=\ |
21009 | 370 |
repeatable annotation type ({1}) is @Inherited while containing annotation type ({0}) is not |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
371 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
372 |
# 0: symbol, 1: symbol |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
373 |
compiler.err.invalid.repeatable.annotation.incompatible.target=\ |
21009 | 374 |
containing annotation type ({0}) is applicable to more targets than repeatable annotation type ({1}) |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
375 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
376 |
# 0: symbol |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
377 |
compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\ |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
378 |
container {0} must not be present at the same time as the element it contains |
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
379 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
380 |
# 0: name |
10 | 381 |
compiler.err.duplicate.class=\ |
382 |
duplicate class: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
383 |
|
10 | 384 |
compiler.err.duplicate.case.label=\ |
385 |
duplicate case label |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
386 |
|
10 | 387 |
compiler.err.duplicate.default.label=\ |
388 |
duplicate default label |
|
389 |
||
390 |
compiler.err.else.without.if=\ |
|
391 |
''else'' without ''if'' |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
392 |
|
10 | 393 |
compiler.err.empty.char.lit=\ |
394 |
empty character literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
395 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
396 |
# 0: symbol |
10 | 397 |
compiler.err.encl.class.required=\ |
398 |
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
|
399 |
|
10 | 400 |
compiler.err.enum.annotation.must.be.enum.constant=\ |
401 |
an enum annotation value must be an enum constant |
|
402 |
||
403 |
compiler.err.enum.cant.be.instantiated=\ |
|
404 |
enum types may not be instantiated |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
405 |
|
10 | 406 |
compiler.err.enum.label.must.be.unqualified.enum=\ |
407 |
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
|
408 |
|
10 | 409 |
compiler.err.enum.no.subclassing=\ |
410 |
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
|
411 |
|
10 | 412 |
compiler.err.enum.types.not.extensible=\ |
413 |
enum types are not extensible |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
414 |
|
10 | 415 |
compiler.err.enum.no.finalize=\ |
416 |
enums cannot have finalize methods |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
417 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
418 |
# 0: file name, 1: string |
10 | 419 |
compiler.err.error.reading.file=\ |
420 |
error reading {0}; {1} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
421 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
422 |
# 0: type |
10 | 423 |
compiler.err.except.already.caught=\ |
424 |
exception {0} has already been caught |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
425 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
426 |
# 0: type |
10 | 427 |
compiler.err.except.never.thrown.in.try=\ |
428 |
exception {0} is never thrown in body of corresponding try statement |
|
429 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
430 |
# 0: symbol |
10 | 431 |
compiler.err.final.parameter.may.not.be.assigned=\ |
432 |
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
|
433 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
434 |
# 0: symbol |
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
435 |
compiler.err.try.resource.may.not.be.assigned=\ |
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
436 |
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
|
437 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
438 |
# 0: symbol |
5492
515e4b33b335
6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents:
5321
diff
changeset
|
439 |
compiler.err.multicatch.parameter.may.not.be.assigned=\ |
515e4b33b335
6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents:
5321
diff
changeset
|
440 |
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
|
441 |
|
9074
76b505d19026
7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents:
8849
diff
changeset
|
442 |
# 0: type, 1: type |
76b505d19026
7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents:
8849
diff
changeset
|
443 |
compiler.err.multicatch.types.must.be.disjoint=\ |
76b505d19026
7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents:
8849
diff
changeset
|
444 |
Alternatives in a multi-catch statement cannot be related by subclassing\n\ |
76b505d19026
7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents:
8849
diff
changeset
|
445 |
Alternative {0} is a subclass of alternative {1} |
76b505d19026
7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents:
8849
diff
changeset
|
446 |
|
10 | 447 |
compiler.err.finally.without.try=\ |
448 |
''finally'' without ''try'' |
|
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: type, 1: message segment |
10 | 451 |
compiler.err.foreach.not.applicable.to.type=\ |
8045 | 452 |
for-each not applicable to expression type\n\ |
453 |
required: {1}\n\ |
|
454 |
found: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
455 |
|
10 | 456 |
compiler.err.fp.number.too.large=\ |
457 |
floating point number too large |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
458 |
|
10 | 459 |
compiler.err.fp.number.too.small=\ |
460 |
floating point number too small |
|
461 |
||
462 |
compiler.err.generic.array.creation=\ |
|
463 |
generic array creation |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
464 |
|
10 | 465 |
compiler.err.generic.throwable=\ |
466 |
a generic class may not extend java.lang.Throwable |
|
467 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
468 |
# 0: symbol |
10 | 469 |
compiler.err.icls.cant.have.static.decl=\ |
8046
376310825f60
6510286: Wording of javac error for inner classes
mcimadamore
parents:
8045
diff
changeset
|
470 |
Illegal static declaration in inner class {0}\n\ |
376310825f60
6510286: Wording of javac error for inner classes
mcimadamore
parents:
8045
diff
changeset
|
471 |
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
|
472 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
473 |
# 0: string |
10 | 474 |
compiler.err.illegal.char=\ |
14370
eefd0e6642a8
8000483: cryptic error message when source file contains hash
vromero
parents:
14369
diff
changeset
|
475 |
illegal character: ''{0}'' |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
476 |
|
10 | 477 |
compiler.err.illegal.char.for.encoding=\ |
478 |
unmappable character for encoding {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
479 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
480 |
# 0: set of modifier, 1: set of modifier |
10 | 481 |
compiler.err.illegal.combination.of.modifiers=\ |
482 |
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
|
483 |
|
10 | 484 |
compiler.err.illegal.enum.static.ref=\ |
485 |
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
|
486 |
|
10 | 487 |
compiler.err.illegal.esc.char=\ |
488 |
illegal escape character |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
489 |
|
10 | 490 |
compiler.err.illegal.forward.ref=\ |
491 |
illegal forward reference |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
492 |
|
15724 | 493 |
# 0: symbol, 1: string |
494 |
compiler.err.not.in.profile=\ |
|
495 |
{0} is not available in profile ''{1}'' |
|
496 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
497 |
# 0: symbol |
10 | 498 |
compiler.warn.forward.ref=\ |
499 |
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
|
500 |
|
1045
56f6e84f7825
6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents:
939
diff
changeset
|
501 |
compiler.err.illegal.self.ref=\ |
56f6e84f7825
6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents:
939
diff
changeset
|
502 |
self-reference in initializer |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
503 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
504 |
# 0: symbol |
1045
56f6e84f7825
6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents:
939
diff
changeset
|
505 |
compiler.warn.self.ref=\ |
56f6e84f7825
6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents:
939
diff
changeset
|
506 |
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
|
507 |
|
10 | 508 |
compiler.err.illegal.generic.type.for.instof=\ |
509 |
illegal generic type for instanceof |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
510 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
511 |
# 0: type |
10 | 512 |
compiler.err.illegal.initializer.for.type=\ |
513 |
illegal initializer for {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
514 |
|
10 | 515 |
compiler.err.illegal.line.end.in.char.lit=\ |
516 |
illegal line end in character literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
517 |
|
10 | 518 |
compiler.err.illegal.nonascii.digit=\ |
519 |
illegal non-ASCII digit |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
520 |
|
3895 | 521 |
compiler.err.illegal.underscore=\ |
522 |
illegal underscore |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
523 |
|
11383 | 524 |
compiler.err.illegal.dot=\ |
525 |
illegal ''.'' |
|
526 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
527 |
# 0: symbol |
10 | 528 |
compiler.err.illegal.qual.not.icls=\ |
529 |
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
|
530 |
|
10 | 531 |
compiler.err.illegal.start.of.expr=\ |
532 |
illegal start of expression |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
533 |
|
12466
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
534 |
compiler.err.illegal.start.of.stmt=\ |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
535 |
illegal start of statement |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
536 |
|
10 | 537 |
compiler.err.illegal.start.of.type=\ |
538 |
illegal start of type |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
539 |
|
10 | 540 |
compiler.err.illegal.unicode.esc=\ |
541 |
illegal unicode escape |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
542 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
543 |
# 0: symbol |
10 | 544 |
compiler.err.import.requires.canonical=\ |
545 |
import requires canonical name for {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
546 |
|
10 | 547 |
compiler.err.improperly.formed.type.param.missing=\ |
548 |
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
|
549 |
|
10 | 550 |
compiler.err.improperly.formed.type.inner.raw.param=\ |
8045 | 551 |
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
|
552 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
553 |
# 0: type, 1: type |
10 | 554 |
compiler.err.incomparable.types=\ |
555 |
incomparable types: {0} and {1} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
556 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
557 |
# 0: number |
10 | 558 |
compiler.err.int.number.too.large=\ |
559 |
integer number too large: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
560 |
|
10 | 561 |
compiler.err.intf.annotation.members.cant.have.params=\ |
21009 | 562 |
elements in annotation type declarations cannot declare formal parameters |
563 |
||
564 |
# 0: symbol |
|
10 | 565 |
compiler.err.intf.annotation.cant.have.type.params=\ |
21009 | 566 |
annotation type {0} cannot be generic |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
567 |
|
10 | 568 |
compiler.err.intf.annotation.members.cant.have.type.params=\ |
21009 | 569 |
elements in annotation type declarations cannot be generic methods |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
570 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
571 |
# 0: symbol, 1: type |
10 | 572 |
compiler.err.intf.annotation.member.clash=\ |
21009 | 573 |
annotation type {1} declares an element with the same name as method {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
574 |
|
10 | 575 |
compiler.err.intf.expected.here=\ |
576 |
interface expected here |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
577 |
|
10 | 578 |
compiler.err.intf.meth.cant.have.body=\ |
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
579 |
interface abstract methods cannot have body |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
580 |
|
21009 | 581 |
# 0: symbol |
10 | 582 |
compiler.err.invalid.annotation.member.type=\ |
21009 | 583 |
invalid type for element {0} of annotation type |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
584 |
|
4072
70eaf9773f81
6891079: Compiler allows invalid binary literals 0b and oBL
jjg
parents:
3895
diff
changeset
|
585 |
compiler.err.invalid.binary.number=\ |
70eaf9773f81
6891079: Compiler allows invalid binary literals 0b and oBL
jjg
parents:
3895
diff
changeset
|
586 |
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
|
587 |
|
10 | 588 |
compiler.err.invalid.hex.number=\ |
589 |
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
|
590 |
|
10 | 591 |
compiler.err.invalid.meth.decl.ret.type.req=\ |
592 |
invalid method declaration; return type required |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
593 |
|
8047
c7f08cdb5c3c
6569633: Varargs: parser error when varargs element type is an array
mcimadamore
parents:
8046
diff
changeset
|
594 |
compiler.err.varargs.and.old.array.syntax=\ |
c7f08cdb5c3c
6569633: Varargs: parser error when varargs element type is an array
mcimadamore
parents:
8046
diff
changeset
|
595 |
legacy array notation not allowed on variable-arity parameter |
10 | 596 |
|
17578 | 597 |
compiler.err.varargs.and.receiver =\ |
598 |
varargs notation not allowed on receiver parameter |
|
599 |
||
22701
67811024e8b4
8030091: Request to update error messages from javac for negative varargs test cases
jlahoda
parents:
21712
diff
changeset
|
600 |
compiler.err.varargs.must.be.last =\ |
67811024e8b4
8030091: Request to update error messages from javac for negative varargs test cases
jlahoda
parents:
21712
diff
changeset
|
601 |
varargs parameter must be the last parameter |
67811024e8b4
8030091: Request to update error messages from javac for negative varargs test cases
jlahoda
parents:
21712
diff
changeset
|
602 |
|
17578 | 603 |
compiler.err.array.and.receiver =\ |
604 |
legacy array notation not allowed on receiver parameter |
|
605 |
||
12466
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
606 |
compiler.err.variable.not.allowed=\ |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
607 |
variable declaration not allowed here |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
608 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
609 |
# 0: name |
10 | 610 |
compiler.err.label.already.in.use=\ |
611 |
label {0} already in use |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
612 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
613 |
# 0: symbol |
10 | 614 |
compiler.err.local.var.accessed.from.icls.needs.final=\ |
615 |
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
|
616 |
|
10 | 617 |
compiler.err.local.enum=\ |
618 |
enum types must not be local |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
619 |
|
10 | 620 |
compiler.err.cannot.create.array.with.type.arguments=\ |
621 |
cannot create array with type arguments |
|
622 |
||
10199
48bd09ecc88a
7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents:
10186
diff
changeset
|
623 |
compiler.err.cannot.create.array.with.diamond=\ |
48bd09ecc88a
7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents:
10186
diff
changeset
|
624 |
cannot create array with ''<>'' |
48bd09ecc88a
7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents:
10186
diff
changeset
|
625 |
|
10 | 626 |
# |
627 |
# limits. We don't give the limits in the diagnostic because we expect |
|
628 |
# them to change, yet we want to use the same diagnostic. These are all |
|
629 |
# detected during code generation. |
|
630 |
# |
|
631 |
compiler.err.limit.code=\ |
|
632 |
code too large |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
633 |
|
10 | 634 |
compiler.err.limit.code.too.large.for.try.stmt=\ |
635 |
code too large for try statement |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
636 |
|
10 | 637 |
compiler.err.limit.dimensions=\ |
638 |
array type has too many dimensions |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
639 |
|
10 | 640 |
compiler.err.limit.locals=\ |
641 |
too many local variables |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
642 |
|
10 | 643 |
compiler.err.limit.parameters=\ |
644 |
too many parameters |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
645 |
|
10 | 646 |
compiler.err.limit.pool=\ |
647 |
too many constants |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
648 |
|
10 | 649 |
compiler.err.limit.pool.in.class=\ |
650 |
too many constants in class {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
651 |
|
10 | 652 |
compiler.err.limit.stack=\ |
653 |
code requires too much stack |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
654 |
|
10 | 655 |
compiler.err.limit.string=\ |
656 |
constant string too long |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
657 |
|
10 | 658 |
compiler.err.limit.string.overflow=\ |
659 |
UTF8 representation for string \"{0}...\" is too long for the constant pool |
|
660 |
||
661 |
compiler.err.malformed.fp.lit=\ |
|
662 |
malformed floating point literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
663 |
|
10 | 664 |
compiler.err.method.does.not.override.superclass=\ |
665 |
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
|
666 |
|
10 | 667 |
compiler.err.missing.meth.body.or.decl.abstract=\ |
668 |
missing method body, or declare abstract |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
669 |
|
10 | 670 |
compiler.err.missing.ret.stmt=\ |
671 |
missing return statement |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
672 |
|
17578 | 673 |
# 0: unused |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
674 |
compiler.misc.missing.ret.val=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
675 |
missing return value |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
676 |
|
14547 | 677 |
compiler.misc.unexpected.ret.val=\ |
678 |
unexpected return value |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
679 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
680 |
# 0: set of modifier |
10 | 681 |
compiler.err.mod.not.allowed.here=\ |
682 |
modifier {0} not allowed here |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
683 |
|
10 | 684 |
compiler.err.intf.not.allowed.here=\ |
685 |
interface not allowed here |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
686 |
|
10 | 687 |
compiler.err.enums.must.be.static=\ |
688 |
enum declarations allowed only in static contexts |
|
689 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
690 |
# 0: symbol, 1: symbol |
10 | 691 |
compiler.err.name.clash.same.erasure=\ |
692 |
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
|
693 |
|
8242
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
694 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: unused, 5: unused |
10 | 695 |
compiler.err.name.clash.same.erasure.no.override=\ |
696 |
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
|
697 |
|
8242
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
698 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: symbol, 5: symbol |
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
699 |
compiler.err.name.clash.same.erasure.no.override.1=\ |
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
700 |
name clash: {0} in {1} overrides a method whose erasure is the same as another method, yet neither overrides the other\n\ |
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
701 |
first method: {2} in {3}\n\ |
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
702 |
second method: {4} in {5} |
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
703 |
|
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
704 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
705 |
compiler.err.name.clash.same.erasure.no.hide=\ |
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
706 |
name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither hides the other |
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
707 |
|
10 | 708 |
compiler.err.name.reserved.for.internal.use=\ |
709 |
{0} is reserved for internal use |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
710 |
|
10 | 711 |
compiler.err.native.meth.cant.have.body=\ |
712 |
native methods cannot have a body |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
713 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
714 |
# 0: type, 1: type |
10 | 715 |
compiler.err.neither.conditional.subtype=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
716 |
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
|
717 |
second operand: {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
718 |
third operand : {1} |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
719 |
|
14057
b4b0377b8dba
7177387: Add target-typing support in method context
mcimadamore
parents:
14054
diff
changeset
|
720 |
# 0: message segment |
b4b0377b8dba
7177387: Add target-typing support in method context
mcimadamore
parents:
14054
diff
changeset
|
721 |
compiler.misc.incompatible.type.in.conditional=\ |
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
722 |
bad type in conditional expression\n\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
723 |
{0} |
14057
b4b0377b8dba
7177387: Add target-typing support in method context
mcimadamore
parents:
14054
diff
changeset
|
724 |
|
14547 | 725 |
compiler.misc.conditional.target.cant.be.void=\ |
726 |
target-type for conditional expression cannot be void |
|
727 |
||
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
728 |
# 0: type |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
729 |
compiler.misc.incompatible.ret.type.in.lambda=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
730 |
bad return type in lambda expression\n\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
731 |
{0} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
732 |
|
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
733 |
# 0: type |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
734 |
compiler.misc.incompatible.ret.type.in.mref=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
735 |
bad return type in method reference\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
736 |
{0} |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
737 |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
738 |
# 0: list of type |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
739 |
compiler.err.incompatible.thrown.types.in.mref=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
740 |
incompatible thrown types {0} in method reference |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
741 |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
742 |
compiler.misc.incompatible.arg.types.in.lambda=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
743 |
incompatible parameter types in lambda expression |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
744 |
|
16294
0c291a3cd60d
8007462: Fix provisional applicability for method references
mcimadamore
parents:
15385
diff
changeset
|
745 |
compiler.misc.incompatible.arg.types.in.mref=\ |
0c291a3cd60d
8007462: Fix provisional applicability for method references
mcimadamore
parents:
15385
diff
changeset
|
746 |
incompatible parameter types in method reference |
0c291a3cd60d
8007462: Fix provisional applicability for method references
mcimadamore
parents:
15385
diff
changeset
|
747 |
|
10 | 748 |
compiler.err.new.not.allowed.in.annotation=\ |
749 |
''new'' not allowed in an annotation |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
750 |
|
10 | 751 |
compiler.err.no.annotation.member=\ |
752 |
no annotation member {0} in {1} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
753 |
|
10 | 754 |
compiler.err.no.encl.instance.of.type.in.scope=\ |
755 |
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
|
756 |
|
10 | 757 |
compiler.err.no.intf.expected.here=\ |
758 |
no interface expected here |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
759 |
|
10 | 760 |
compiler.err.no.match.entry=\ |
761 |
{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
|
762 |
|
10 | 763 |
compiler.err.not.annotation.type=\ |
764 |
{0} is not an annotation type |
|
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: symbol, 1: symbol |
10 | 767 |
compiler.err.not.def.access.class.intf.cant.access=\ |
768 |
{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
|
769 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
770 |
# 0: symbol, 1: symbol |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
771 |
compiler.misc.not.def.access.class.intf.cant.access=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
772 |
{0} in {1} is defined in an inaccessible class or interface |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
773 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
774 |
# 0: symbol, 1: list of type, 2: type |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
775 |
compiler.misc.cant.access.inner.cls.constr=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
776 |
cannot access constructor {0}({1})\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
777 |
an enclosing instance of type {2} is not in scope |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
778 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
779 |
# 0: symbol, 1: symbol |
10 | 780 |
compiler.err.not.def.public.cant.access=\ |
781 |
{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
|
782 |
|
16328
8b9eb42167f6
8009129: Illegal access error when calling method reference
mcimadamore
parents:
16323
diff
changeset
|
783 |
# 0: symbol, 1: symbol |
8b9eb42167f6
8009129: Illegal access error when calling method reference
mcimadamore
parents:
16323
diff
changeset
|
784 |
compiler.misc.not.def.public.cant.access=\ |
8b9eb42167f6
8009129: Illegal access error when calling method reference
mcimadamore
parents:
16323
diff
changeset
|
785 |
{0} is not public in {1}; cannot be accessed from outside package |
8b9eb42167f6
8009129: Illegal access error when calling method reference
mcimadamore
parents:
16323
diff
changeset
|
786 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
787 |
# 0: name |
10 | 788 |
compiler.err.not.loop.label=\ |
789 |
not a loop label: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
790 |
|
10 | 791 |
compiler.err.not.stmt=\ |
792 |
not a statement |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
793 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
794 |
# 0: symbol |
10 | 795 |
compiler.err.not.encl.class=\ |
796 |
not an enclosing class: {0} |
|
797 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
798 |
# 0: name, 1: type, 2: unused |
10 | 799 |
compiler.err.operator.cant.be.applied=\ |
8045 | 800 |
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
|
801 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
802 |
# 0: name, 1: type, 2: type |
8045 | 803 |
compiler.err.operator.cant.be.applied.1=\ |
804 |
bad operand types for binary operator ''{0}''\n\ |
|
805 |
first type: {1}\n\ |
|
806 |
second type: {2} |
|
10 | 807 |
|
808 |
compiler.err.pkg.annotations.sb.in.package-info.java=\ |
|
809 |
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
|
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.pkg.clashes.with.class.of.same.name=\ |
813 |
package {0} clashes with class of same name |
|
814 |
||
1996 | 815 |
compiler.err.warnings.and.werror=\ |
816 |
warnings found and -Werror specified |
|
817 |
||
10 | 818 |
# Errors related to annotation processing |
819 |
||
9077
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
820 |
# 0: symbol, 1: string, 2: stack-trace |
10 | 821 |
compiler.err.proc.cant.access=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
822 |
cannot access {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
823 |
{1}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
824 |
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
|
825 |
{2} |
10 | 826 |
|
9077
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
827 |
# 0: symbol, 1: string |
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
828 |
compiler.err.proc.cant.access.1=\ |
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
829 |
cannot access {0}\n\ |
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
830 |
{1} |
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
831 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
832 |
# 0: string |
10 | 833 |
compiler.err.proc.cant.find.class=\ |
834 |
Could not find class file for ''{0}''. |
|
835 |
||
836 |
# 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
|
837 |
# 0: string |
10 | 838 |
compiler.err.proc.messager=\ |
839 |
{0} |
|
840 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
841 |
# 0: list of string |
10 | 842 |
compiler.err.proc.no.explicit.annotation.processing.requested=\ |
843 |
Class names, ''{0}'', are only accepted if annotation processing is explicitly requested |
|
844 |
||
845 |
compiler.err.proc.no.service=\ |
|
10186
31a86b7e18ca
6575445: Update annotation processor to only use java.util.ServiceLoader
darcy
parents:
9604
diff
changeset
|
846 |
A ServiceLoader was not usable and is required for annotation processing. |
10 | 847 |
|
848 |
compiler.err.proc.processor.bad.option.name=\ |
|
849 |
Bad option name ''{0}'' provided by processor ''{1}'' |
|
850 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
851 |
# 0: string |
10 | 852 |
compiler.err.proc.processor.cant.instantiate=\ |
853 |
Could not instantiate an instance of processor ''{0}'' |
|
854 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
855 |
# 0: string |
10 | 856 |
compiler.err.proc.processor.not.found=\ |
857 |
Annotation processor ''{0}'' not found |
|
858 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
859 |
# 0: string |
10 | 860 |
compiler.err.proc.processor.wrong.type=\ |
861 |
Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor |
|
862 |
||
863 |
compiler.err.proc.service.problem=\ |
|
864 |
Error creating a service loader to load Processors. |
|
865 |
||
866 |
compiler.err.proc.bad.config.file=\ |
|
867 |
Bad service configuration file, or exception thrown while constructing Processor object: {0} |
|
868 |
||
869 |
compiler.err.proc.cant.create.loader=\ |
|
870 |
Could not create class loader for annotation processors: {0} |
|
871 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
872 |
# 0: unused |
10 | 873 |
compiler.err.qualified.new.of.static.class=\ |
874 |
qualified new of static class |
|
875 |
||
876 |
compiler.err.recursive.ctor.invocation=\ |
|
877 |
recursive constructor invocation |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
878 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
879 |
# 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol |
10 | 880 |
compiler.err.ref.ambiguous=\ |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
881 |
reference to {0} is ambiguous\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
882 |
both {1} {2} in {3} and {4} {5} in {6} match |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
883 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
884 |
# 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
885 |
compiler.misc.ref.ambiguous=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
886 |
reference to {0} is ambiguous\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
887 |
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
|
888 |
|
10 | 889 |
compiler.err.repeated.annotation.target=\ |
890 |
repeated annotation target |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
891 |
|
10 | 892 |
compiler.err.repeated.interface=\ |
893 |
repeated interface |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
894 |
|
10 | 895 |
compiler.err.repeated.modifier=\ |
896 |
repeated modifier |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
897 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
898 |
# 0: symbol, 1: set of modifier, 2: symbol |
10 | 899 |
compiler.err.report.access=\ |
900 |
{0} has {1} access in {2} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
901 |
|
19129
b1409ae675f8
8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents:
19122
diff
changeset
|
902 |
# 0: symbol, 1: set of modifier, 2: symbol |
b1409ae675f8
8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents:
19122
diff
changeset
|
903 |
compiler.misc.report.access=\ |
b1409ae675f8
8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents:
19122
diff
changeset
|
904 |
{0} has {1} access in {2} |
b1409ae675f8
8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents:
19122
diff
changeset
|
905 |
|
10 | 906 |
compiler.err.ret.outside.meth=\ |
907 |
return outside method |
|
908 |
||
909 |
compiler.err.signature.doesnt.match.supertype=\ |
|
910 |
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
|
911 |
|
10 | 912 |
compiler.err.signature.doesnt.match.intf=\ |
913 |
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
|
914 |
|
19133
aa085efaaa2e
8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
vromero
parents:
19129
diff
changeset
|
915 |
# 0: number, 1: number |
aa085efaaa2e
8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
vromero
parents:
19129
diff
changeset
|
916 |
compiler.err.method.invoked.with.incorrect.number.arguments=\ |
aa085efaaa2e
8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
vromero
parents:
19129
diff
changeset
|
917 |
method invoked with incorrect number of arguments; expected {0}, found {1} |
aa085efaaa2e
8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
vromero
parents:
19129
diff
changeset
|
918 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
919 |
# 0: symbol, 1: symbol, 2: symbol |
10 | 920 |
compiler.err.does.not.override.abstract=\ |
921 |
{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
|
922 |
|
10 | 923 |
compiler.err.source.cant.overwrite.input.file=\ |
924 |
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
|
925 |
|
10 | 926 |
compiler.err.stack.sim.error=\ |
927 |
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
|
928 |
|
10 | 929 |
compiler.err.static.imp.only.classes.and.interfaces=\ |
930 |
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
|
931 |
|
4142 | 932 |
compiler.err.string.const.req=\ |
933 |
constant string expression required |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
934 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
935 |
# 0: symbol, 1: symbol |
10 | 936 |
compiler.err.synthetic.name.conflict=\ |
937 |
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
|
938 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
939 |
# 0: symbol, 1: symbol |
3557
a803afefa115
6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
mcimadamore
parents:
3554
diff
changeset
|
940 |
compiler.warn.synthetic.name.conflict=\ |
a803afefa115
6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
mcimadamore
parents:
3554
diff
changeset
|
941 |
the symbol {0} conflicts with a compiler-synthesized symbol in {1} |
10 | 942 |
|
943 |
compiler.err.throws.not.allowed.in.intf.annotation=\ |
|
944 |
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
|
945 |
|
10 | 946 |
compiler.err.try.without.catch.or.finally=\ |
947 |
''try'' without ''catch'' or ''finally'' |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
948 |
|
6148
3a8158299c51
6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents:
6145
diff
changeset
|
949 |
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
|
950 |
''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
|
951 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
952 |
# 0: symbol |
10 | 953 |
compiler.err.type.doesnt.take.params=\ |
954 |
type {0} does not take parameters |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
955 |
|
10 | 956 |
compiler.err.type.var.cant.be.deref=\ |
957 |
cannot select from a type variable |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
958 |
|
10 | 959 |
compiler.err.type.var.may.not.be.followed.by.other.bounds=\ |
960 |
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
|
961 |
|
10 | 962 |
compiler.err.type.var.more.than.once=\ |
963 |
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
|
964 |
|
10 | 965 |
compiler.err.type.var.more.than.once.in.result=\ |
966 |
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
|
967 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
968 |
# 0: type, 1: type, 2: string |
10 | 969 |
compiler.err.types.incompatible.diff.ret=\ |
970 |
types {0} and {1} are incompatible; both define {2}, but with unrelated return types |
|
971 |
||
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
972 |
# 0: kind, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
973 |
compiler.err.types.incompatible.unrelated.defaults=\ |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
974 |
{0} {1} inherits unrelated defaults for {2}({3}) from types {4} and {5} |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
975 |
|
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
976 |
# 0: kind, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
977 |
compiler.err.types.incompatible.abstract.default=\ |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
978 |
{0} {1} inherits abstract and default for {2}({3}) from types {4} and {5} |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
979 |
|
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
980 |
# 0: name, 1: kind, 2: symbol |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
981 |
compiler.err.default.overrides.object.member=\ |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
982 |
default method {0} in {1} {2} overrides a member of java.lang.Object |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
983 |
|
15377
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
984 |
# 0: type |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
985 |
compiler.err.illegal.static.intf.meth.call=\ |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
986 |
illegal static interface method call\n\ |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
987 |
the receiver expression should be replaced with the type qualifier ''{0}'' |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
988 |
|
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
989 |
# 0: type, 1: message segment |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
990 |
compiler.err.illegal.default.super.call=\ |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
991 |
bad type qualifier {0} in default super call\n\ |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
992 |
{1} |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
993 |
|
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
994 |
# 0: symbol, 1: type |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
995 |
compiler.misc.overridden.default=\ |
14547 | 996 |
method {0} is overridden in {1} |
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
997 |
|
17578 | 998 |
# 0: symbol, 1: type or symbol |
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
999 |
compiler.misc.redundant.supertype=\ |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1000 |
redundant interface {0} is extended by {1} |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1001 |
|
10 | 1002 |
compiler.err.unclosed.char.lit=\ |
1003 |
unclosed character literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1004 |
|
10 | 1005 |
compiler.err.unclosed.comment=\ |
1006 |
unclosed comment |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1007 |
|
10 | 1008 |
compiler.err.unclosed.str.lit=\ |
1009 |
unclosed string literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1010 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1011 |
# 0: name |
10 | 1012 |
compiler.err.unsupported.encoding=\ |
1013 |
unsupported encoding: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1014 |
|
10 | 1015 |
compiler.err.io.exception=\ |
1016 |
error reading source file: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1017 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1018 |
# 0: name |
10 | 1019 |
compiler.err.undef.label=\ |
1020 |
undefined label: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1021 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1022 |
# 0: message segment, 1: unused |
5321
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
1023 |
compiler.err.cant.apply.diamond=\ |
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
1024 |
cannot infer type arguments for {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1025 |
|
11053
48713f779b1d
7108669: cleanup Log methods for direct printing to streams
jjg
parents:
10816
diff
changeset
|
1026 |
# 0: message segment or type, 1: message segment |
5321
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
1027 |
compiler.err.cant.apply.diamond.1=\ |
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1028 |
cannot infer type arguments for {0}\n\ |
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1029 |
reason: {1} |
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1030 |
|
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1031 |
# 0: message segment or type, 1: message segment |
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1032 |
compiler.misc.cant.apply.diamond.1=\ |
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1033 |
cannot infer type arguments for {0}\n\ |
5321
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
1034 |
reason: {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1035 |
|
10 | 1036 |
compiler.err.unreachable.stmt=\ |
1037 |
unreachable statement |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1038 |
|
10 | 1039 |
compiler.err.initializer.must.be.able.to.complete.normally=\ |
1040 |
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
|
1041 |
|
23133
a58476887b3d
8031383: Error recovery in JavacParser could be improved
jlahoda
parents:
23128
diff
changeset
|
1042 |
compiler.err.initializer.not.allowed=\ |
a58476887b3d
8031383: Error recovery in JavacParser could be improved
jlahoda
parents:
23128
diff
changeset
|
1043 |
initializers not allowed in interfaces |
a58476887b3d
8031383: Error recovery in JavacParser could be improved
jlahoda
parents:
23128
diff
changeset
|
1044 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1045 |
# 0: type |
10 | 1046 |
compiler.err.unreported.exception.need.to.catch.or.throw=\ |
1047 |
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
|
1048 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1049 |
# 0: type |
10 | 1050 |
compiler.err.unreported.exception.default.constructor=\ |
1051 |
unreported exception {0} in default constructor |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1052 |
|
8428
1e9935b883cd
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents:
8242
diff
changeset
|
1053 |
# 0: type, 1: name |
1e9935b883cd
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents:
8242
diff
changeset
|
1054 |
compiler.err.unreported.exception.implicit.close=\ |
1e9935b883cd
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents:
8242
diff
changeset
|
1055 |
unreported exception {0}; must be caught or declared to be thrown\n\ |
1e9935b883cd
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents:
8242
diff
changeset
|
1056 |
exception thrown from implicit call to close() on resource variable ''{1}'' |
1e9935b883cd
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents:
8242
diff
changeset
|
1057 |
|
10 | 1058 |
compiler.err.unsupported.cross.fp.lit=\ |
1059 |
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
|
1060 |
|
10 | 1061 |
compiler.err.void.not.allowed.here=\ |
1062 |
''void'' type not allowed here |
|
1063 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1064 |
# 0: string |
10 | 1065 |
compiler.err.wrong.number.type.args=\ |
1066 |
wrong number of type arguments; required {0} |
|
1067 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1068 |
# 0: symbol |
10 | 1069 |
compiler.err.var.might.already.be.assigned=\ |
1070 |
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
|
1071 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1072 |
# 0: symbol |
10 | 1073 |
compiler.err.var.might.not.have.been.initialized=\ |
1074 |
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
|
1075 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1076 |
# 0: symbol |
19122
1841f2fa76de
8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents:
18387
diff
changeset
|
1077 |
compiler.err.var.not.initialized.in.default.constructor=\ |
1841f2fa76de
8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents:
18387
diff
changeset
|
1078 |
variable {0} not initialized in the default constructor |
1841f2fa76de
8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents:
18387
diff
changeset
|
1079 |
|
1841f2fa76de
8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents:
18387
diff
changeset
|
1080 |
# 0: symbol |
10 | 1081 |
compiler.err.var.might.be.assigned.in.loop=\ |
1082 |
variable {0} might be assigned in loop |
|
1083 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1084 |
# 0: symbol, 1: message segment |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1085 |
compiler.err.varargs.invalid.trustme.anno=\ |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1086 |
Invalid {0} annotation. {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1087 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1088 |
# 0: type |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1089 |
compiler.misc.varargs.trustme.on.reifiable.varargs=\ |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1090 |
Varargs element type {0} is reifiable. |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1091 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1092 |
# 0: symbol |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1093 |
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
|
1094 |
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
|
1095 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1096 |
# 0: symbol |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1097 |
compiler.misc.varargs.trustme.on.virtual.varargs=\ |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1098 |
Instance method {0} is not final. |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1099 |
|
11053
48713f779b1d
7108669: cleanup Log methods for direct printing to streams
jjg
parents:
10816
diff
changeset
|
1100 |
# 0: type, 1: symbol kind, 2: symbol |
8229
39266c1b1b0e
6313164: javac generates code that fails byte code verification for the varargs feature
mcimadamore
parents:
8226
diff
changeset
|
1101 |
compiler.misc.inaccessible.varargs.type=\ |
39266c1b1b0e
6313164: javac generates code that fails byte code verification for the varargs feature
mcimadamore
parents:
8226
diff
changeset
|
1102 |
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
|
1103 |
|
10 | 1104 |
# In the following string, {1} will always be the detail message from |
1105 |
# java.io.IOException. |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1106 |
# 0: symbol, 1: string |
10 | 1107 |
compiler.err.class.cant.write=\ |
1108 |
error while writing {0}: {1} |
|
1109 |
||
1110 |
# In the following string, {0} is the name of the class in the Java source. |
|
1111 |
# 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
|
1112 |
# 0: name |
10 | 1113 |
compiler.err.class.public.should.be.in.file=\ |
1114 |
class {0} is public, should be declared in a file named {0}.java |
|
1115 |
||
1116 |
## All errors which do not refer to a particular line in the source code are |
|
1117 |
## preceded by this string. |
|
1118 |
compiler.err.error=\ |
|
1119 |
error:\u0020 |
|
1120 |
||
1121 |
# The following error messages do not refer to a line in the source code. |
|
1122 |
compiler.err.cant.read.file=\ |
|
1123 |
cannot read: {0} |
|
1124 |
||
1125 |
##### |
|
1126 |
||
1127 |
# Fatal Errors |
|
1128 |
||
1129 |
compiler.misc.fatal.err.no.java.lang=\ |
|
1130 |
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
|
1131 |
|
10 | 1132 |
compiler.misc.fatal.err.cant.locate.meth=\ |
1133 |
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
|
1134 |
|
10 | 1135 |
compiler.misc.fatal.err.cant.locate.field=\ |
1136 |
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
|
1137 |
|
10 | 1138 |
compiler.misc.fatal.err.cant.locate.ctor=\ |
1139 |
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
|
1140 |
|
10637
2ea5fbb913ac
7092965: javac should not close processorClassLoader before end of compilation
jjg
parents:
10628
diff
changeset
|
1141 |
compiler.misc.fatal.err.cant.close=\ |
2ea5fbb913ac
7092965: javac should not close processorClassLoader before end of compilation
jjg
parents:
10628
diff
changeset
|
1142 |
Fatal Error: Cannot close compiler resources |
10 | 1143 |
|
1144 |
##### |
|
1145 |
||
1146 |
## |
|
1147 |
## miscellaneous strings |
|
1148 |
## |
|
1149 |
||
1150 |
compiler.misc.source.unavailable=\ |
|
1151 |
(source unavailable) |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1152 |
|
10 | 1153 |
compiler.misc.base.membership=\ |
1154 |
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
|
1155 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1156 |
# 0: string, 1: string, 2: boolean |
10 | 1157 |
compiler.misc.x.print.processor.info=\ |
1158 |
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
|
1159 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1160 |
# 0: number, 1: string, 2: set of symbol, 3: boolean |
10 | 1161 |
compiler.misc.x.print.rounds=\ |
1162 |
Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3} |
|
1163 |
||
23128
c91951cf65f0
6533516: Warning needed for file with future time stamps
jjg
parents:
22701
diff
changeset
|
1164 |
# 0: file name |
c91951cf65f0
6533516: Warning needed for file with future time stamps
jjg
parents:
22701
diff
changeset
|
1165 |
compiler.warn.file.from.future=\ |
c91951cf65f0
6533516: Warning needed for file with future time stamps
jjg
parents:
22701
diff
changeset
|
1166 |
Modification date is in the future for file {0} |
c91951cf65f0
6533516: Warning needed for file with future time stamps
jjg
parents:
22701
diff
changeset
|
1167 |
|
10 | 1168 |
##### |
1169 |
||
1170 |
## The following string will appear before all messages keyed as: |
|
1171 |
## "compiler.note". |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
1172 |
|
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
1173 |
compiler.note.compressed.diags=\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
1174 |
Some messages have been simplified; recompile with -Xdiags:verbose to get full output |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
1175 |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
1176 |
compiler.note.potential.lambda.found=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
1177 |
This anonymous inner class creation can be turned into a lambda expression. |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
1178 |
|
18386 | 1179 |
# 0: boolean, 1: symbol |
1180 |
compiler.note.lambda.stat=\ |
|
1181 |
Translating lambda expression\n\ |
|
1182 |
alternate metafactory = {0}\n\ |
|
1183 |
synthetic method = {1} |
|
1184 |
||
1185 |
# 0: boolean, 1: unused |
|
1186 |
compiler.note.mref.stat=\ |
|
1187 |
Translating method reference\n\ |
|
1188 |
alternate metafactory = {0}\n\ |
|
1189 |
||
1190 |
# 0: boolean, 1: symbol |
|
1191 |
compiler.note.mref.stat.1=\ |
|
1192 |
Translating method reference\n\ |
|
1193 |
alternate metafactory = {0}\n\ |
|
1194 |
bridge method = {1} |
|
1195 |
||
10 | 1196 |
compiler.note.note=\ |
1197 |
Note:\u0020 |
|
1198 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1199 |
# 0: file name |
10 | 1200 |
compiler.note.deprecated.filename=\ |
1201 |
{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
|
1202 |
|
10 | 1203 |
compiler.note.deprecated.plural=\ |
1204 |
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
|
1205 |
|
10 | 1206 |
# The following string may appear after one of the above deprecation |
1207 |
# messages. |
|
1208 |
compiler.note.deprecated.recompile=\ |
|
1209 |
Recompile with -Xlint:deprecation for details. |
|
1210 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1211 |
# 0: file name |
10 | 1212 |
compiler.note.deprecated.filename.additional=\ |
1213 |
{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
|
1214 |
|
10 | 1215 |
compiler.note.deprecated.plural.additional=\ |
1216 |
Some input files additionally use or override a deprecated API. |
|
1217 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1218 |
# 0: file name |
10 | 1219 |
compiler.note.unchecked.filename=\ |
1220 |
{0} uses unchecked or unsafe operations. |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1221 |
|
10 | 1222 |
compiler.note.unchecked.plural=\ |
1223 |
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
|
1224 |
|
10 | 1225 |
# The following string may appear after one of the above deprecation |
1226 |
# messages. |
|
1227 |
compiler.note.unchecked.recompile=\ |
|
1228 |
Recompile with -Xlint:unchecked for details. |
|
1229 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1230 |
# 0: file name |
10 | 1231 |
compiler.note.unchecked.filename.additional=\ |
1232 |
{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
|
1233 |
|
10 | 1234 |
compiler.note.unchecked.plural.additional=\ |
1235 |
Some input files additionally use unchecked or unsafe operations. |
|
1236 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1237 |
# 0: file name |
3661 | 1238 |
compiler.note.sunapi.filename=\ |
5848
c5a4ce47e780
6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents:
5846
diff
changeset
|
1239 |
{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
|
1240 |
|
3661 | 1241 |
compiler.note.sunapi.plural=\ |
5848
c5a4ce47e780
6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents:
5846
diff
changeset
|
1242 |
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
|
1243 |
|
3661 | 1244 |
# The following string may appear after one of the above sunapi messages. |
1245 |
compiler.note.sunapi.recompile=\ |
|
1246 |
Recompile with -Xlint:sunapi for details. |
|
1247 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1248 |
# 0: file name |
3661 | 1249 |
compiler.note.sunapi.filename.additional=\ |
5848
c5a4ce47e780
6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents:
5846
diff
changeset
|
1250 |
{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
|
1251 |
|
3661 | 1252 |
compiler.note.sunapi.plural.additional=\ |
5848
c5a4ce47e780
6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents:
5846
diff
changeset
|
1253 |
Some input files additionally use internal proprietary API that may be removed in a future release. |
3661 | 1254 |
|
1255 |
# Notes related to annotation processing |
|
1256 |
||
1257 |
# 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
|
1258 |
# 0: string |
3661 | 1259 |
compiler.note.proc.messager=\ |
1260 |
{0} |
|
1261 |
||
10 | 1262 |
##### |
1263 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1264 |
# 0: number |
10 | 1265 |
compiler.misc.count.error=\ |
1266 |
{0} error |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1267 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1268 |
# 0: number |
10 | 1269 |
compiler.misc.count.error.plural=\ |
1270 |
{0} errors |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1271 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1272 |
# 0: number |
10 | 1273 |
compiler.misc.count.warn=\ |
1274 |
{0} warning |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1275 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1276 |
# 0: number |
10 | 1277 |
compiler.misc.count.warn.plural=\ |
1278 |
{0} warnings |
|
1279 |
||
6031
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
1280 |
compiler.misc.version.not.available=\ |
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
1281 |
(version info not available) |
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
1282 |
|
10 | 1283 |
## extra output when using -verbose (JavaCompiler) |
1284 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1285 |
# 0: symbol |
10 | 1286 |
compiler.misc.verbose.checking.attribution=\ |
1287 |
[checking {0}] |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1288 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1289 |
# 0: string |
10 | 1290 |
compiler.misc.verbose.parsing.done=\ |
1291 |
[parsing completed {0}ms] |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1292 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1293 |
# 0: file name |
10 | 1294 |
compiler.misc.verbose.parsing.started=\ |
1295 |
[parsing started {0}] |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1296 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1297 |
# 0: string |
10 | 1298 |
compiler.misc.verbose.total=\ |
1299 |
[total {0}ms] |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1300 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1301 |
# 0: file name |
10 | 1302 |
compiler.misc.verbose.wrote.file=\ |
1303 |
[wrote {0}] |
|
1304 |
||
1305 |
## extra output when using -verbose (Retro) |
|
1306 |
compiler.misc.verbose.retro=\ |
|
1307 |
[retrofitting {0}] |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1308 |
|
10 | 1309 |
compiler.misc.verbose.retro.with=\ |
1310 |
\tretrofitting {0} with {1} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1311 |
|
10 | 1312 |
compiler.misc.verbose.retro.with.list=\ |
1313 |
\tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3} |
|
1314 |
||
1315 |
## 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
|
1316 |
# 0: string |
10 | 1317 |
compiler.misc.verbose.loading=\ |
1318 |
[loading {0}] |
|
1319 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1320 |
# 0: string |
10 | 1321 |
compiler.misc.verbose.sourcepath=\ |
1322 |
[search path for source files: {0}] |
|
1323 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1324 |
# 0: string |
10 | 1325 |
compiler.misc.verbose.classpath=\ |
1326 |
[search path for class files: {0}] |
|
1327 |
||
1328 |
## extra output when using -checkclassfile (code/ClassReader) |
|
1329 |
compiler.misc.ccf.found.later.version=\ |
|
1330 |
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
|
1331 |
|
10 | 1332 |
compiler.misc.ccf.unrecognized.attribute=\ |
1333 |
unrecognized attribute: {0} |
|
1334 |
||
1335 |
## extra output when using -prompt (util/Log) |
|
1336 |
compiler.misc.resume.abort=\ |
|
1337 |
R)esume, A)bort> |
|
1338 |
||
1339 |
##### |
|
1340 |
||
1341 |
## |
|
1342 |
## warnings |
|
1343 |
## |
|
1344 |
||
1345 |
## All warning messages are preceded by the following string. |
|
1346 |
compiler.warn.warning=\ |
|
1347 |
warning:\u0020 |
|
1348 |
||
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1349 |
## 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
|
1350 |
## lint option |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1351 |
# 0: option name |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1352 |
compiler.warn.lintOption=\ |
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1353 |
[{0}]\u0020 |
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1354 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1355 |
# 0: symbol |
10 | 1356 |
compiler.warn.constant.SVUID=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1357 |
serialVersionUID must be constant in class {0} |
10 | 1358 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1359 |
# 0: file name |
10 | 1360 |
compiler.warn.dir.path.element.not.found=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1361 |
bad path element "{0}": no such directory |
10 | 1362 |
|
1363 |
compiler.warn.finally.cannot.complete=\ |
|
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1364 |
finally clause cannot complete normally |
10 | 1365 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1366 |
# 0: symbol, 1: symbol |
10 | 1367 |
compiler.warn.has.been.deprecated=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1368 |
{0} in {1} has been deprecated |
10 | 1369 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1370 |
# 0: symbol |
10 | 1371 |
compiler.warn.sun.proprietary=\ |
5848
c5a4ce47e780
6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents:
5846
diff
changeset
|
1372 |
{0} is internal proprietary API and may be removed in a future release |
10 | 1373 |
|
1374 |
compiler.warn.illegal.char.for.encoding=\ |
|
1375 |
unmappable character for encoding {0} |
|
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1376 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1377 |
# 0: symbol |
10 | 1378 |
compiler.warn.improper.SVUID=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1379 |
serialVersionUID must be declared static final in class {0} |
10 | 1380 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1381 |
# 0: type, 1: type |
10 | 1382 |
compiler.warn.inexact.non-varargs.call=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1383 |
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
|
1384 |
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
|
1385 |
cast to {1} for a non-varargs call and to suppress this warning |
10 | 1386 |
|
8849
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1387 |
# 0: list of type |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1388 |
compiler.warn.unreachable.catch=\ |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1389 |
unreachable catch clause\n\ |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1390 |
thrown type {0} has already been caught |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1391 |
|
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1392 |
# 0: list of type |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1393 |
compiler.warn.unreachable.catch.1=\ |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1394 |
unreachable catch clause\n\ |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1395 |
thrown types {0} have already been caught |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1396 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1397 |
# 0: symbol |
10 | 1398 |
compiler.warn.long.SVUID=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1399 |
serialVersionUID must be of type long in class {0} |
10 | 1400 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1401 |
# 0: symbol |
10 | 1402 |
compiler.warn.missing.SVUID=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1403 |
serializable class {0} has no definition of serialVersionUID |
10 | 1404 |
|
19914 | 1405 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1406 |
compiler.warn.potentially.ambiguous.overload=\ |
|
1407 |
{0} in {1} is potentially ambiguous with {2} in {3} |
|
1408 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1409 |
# 0: message segment |
10 | 1410 |
compiler.warn.override.varargs.missing=\ |
1411 |
{0}; overridden method has no ''...'' |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1412 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1413 |
# 0: message segment |
10 | 1414 |
compiler.warn.override.varargs.extra=\ |
1415 |
{0}; overriding method is missing ''...'' |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1416 |
|
10 | 1417 |
compiler.warn.override.bridge=\ |
1418 |
{0}; overridden method is a bridge method |
|
1419 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1420 |
# 0: symbol |
10 | 1421 |
compiler.warn.pkg-info.already.seen=\ |
4692 | 1422 |
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
|
1423 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1424 |
# 0: file name |
10 | 1425 |
compiler.warn.path.element.not.found=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1426 |
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
|
1427 |
|
10 | 1428 |
compiler.warn.possible.fall-through.into.case=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1429 |
possible fall-through into case |
10 | 1430 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1431 |
# 0: type |
10 | 1432 |
compiler.warn.redundant.cast=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1433 |
redundant cast to {0} |
10 | 1434 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1435 |
# 0: number |
10 | 1436 |
compiler.warn.position.overflow=\ |
1437 |
Position encoding overflows at line {0} |
|
1438 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1439 |
# 0: file name, 1: number, 2: number |
10 | 1440 |
compiler.warn.big.major.version=\ |
1441 |
{0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\ |
|
1442 |
It is recommended that the compiler be upgraded. |
|
1443 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1444 |
# 0: symbol kind, 1: symbol |
5002
12a9e8562200
4880220: Add a warning when accessing a static method via an reference
jjg
parents:
4692
diff
changeset
|
1445 |
compiler.warn.static.not.qualified.by.type=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1446 |
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
|
1447 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1448 |
# 0: string |
7335
8b390fd27190
6900037: javac should warn if earlier -source is used and bootclasspath not set
jjg
parents:
7330
diff
changeset
|
1449 |
compiler.warn.source.no.bootclasspath=\ |
8b390fd27190
6900037: javac should warn if earlier -source is used and bootclasspath not set
jjg
parents:
7330
diff
changeset
|
1450 |
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
|
1451 |
|
19508
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1452 |
# 0: string |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1453 |
compiler.warn.option.obsolete.source=\ |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1454 |
source value {0} is obsolete and will be removed in a future release |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1455 |
|
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1456 |
# 0: string |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1457 |
compiler.warn.option.obsolete.target=\ |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1458 |
target value {0} is obsolete and will be removed in a future release |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1459 |
|
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1460 |
compiler.warn.option.obsolete.suppression=\ |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1461 |
To suppress warnings about obsolete options, use -Xlint:-options. |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1462 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1463 |
# 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
|
1464 |
compiler.warn.future.attr=\ |
c31b0ea95b37
6999210: javac should be able to warn of anomalous conditions in classfiles
jjg
parents:
7335
diff
changeset
|
1465 |
{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
|
1466 |
|
10 | 1467 |
# Warnings related to annotation processing |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1468 |
# 0: name |
10 | 1469 |
compiler.warn.proc.package.does.not.exist=\ |
1470 |
package {0} does not exist |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1471 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1472 |
# 0: name |
10 | 1473 |
compiler.warn.proc.file.reopening=\ |
1474 |
Attempt to create a file for ''{0}'' multiple times |
|
1475 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1476 |
# 0: name |
10 | 1477 |
compiler.warn.proc.type.already.exists=\ |
1478 |
A file for type ''{0}'' already exists on the sourcepath or classpath |
|
1479 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1480 |
# 0: name |
10 | 1481 |
compiler.warn.proc.type.recreate=\ |
1482 |
Attempt to create a file for type ''{0}'' multiple times |
|
1483 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1484 |
# 0: string |
10 | 1485 |
compiler.warn.proc.illegal.file.name=\ |
1486 |
Cannot create file for illegal name ''{0}''. |
|
1487 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1488 |
# 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
|
1489 |
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
|
1490 |
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
|
1491 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1492 |
# 0: name |
10 | 1493 |
compiler.warn.proc.file.create.last.round=\ |
1494 |
File for type ''{0}'' created in the last round will not be subject to annotation processing. |
|
1495 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1496 |
# 0: string, 1: string |
10 | 1497 |
compiler.warn.proc.malformed.supported.string=\ |
1498 |
Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}'' |
|
1499 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1500 |
# 0: set of string |
10 | 1501 |
compiler.warn.proc.annotations.without.processors=\ |
1502 |
No processor claimed any of these annotations: {0} |
|
1503 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1504 |
# 0: source version, 1: string, 2: string |
10 | 1505 |
compiler.warn.proc.processor.incompatible.source.version=\ |
1506 |
Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}'' |
|
1507 |
||
1508 |
compiler.warn.proc.proc-only.requested.no.procs=\ |
|
1509 |
Annotation processing without compilation requested but no processors were found. |
|
1510 |
||
1511 |
compiler.warn.proc.use.implicit=\ |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1512 |
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
|
1513 |
Use -implicit to specify a policy for implicit compilation. |
10 | 1514 |
|
1515 |
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
|
1516 |
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
|
1517 |
Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation. |
10 | 1518 |
|
1519 |
# 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
|
1520 |
# 0: string |
10 | 1521 |
compiler.warn.proc.messager=\ |
1522 |
{0} |
|
1523 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1524 |
# 0: set of name |
10 | 1525 |
compiler.warn.proc.unclosed.type.files=\ |
1526 |
Unclosed files for the types ''{0}''; these types will not undergo annotation processing |
|
1527 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1528 |
# 0: string |
10 | 1529 |
compiler.warn.proc.unmatched.processor.options=\ |
1530 |
The following options were not recognized by any processor: ''{0}'' |
|
1531 |
||
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
1532 |
compiler.warn.try.explicit.close.call=\ |
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
1533 |
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
|
1534 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1535 |
# 0: symbol |
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
1536 |
compiler.warn.try.resource.not.referenced=\ |
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
1537 |
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
|
1538 |
|
9076
45c73da050e9
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents:
9074
diff
changeset
|
1539 |
# 0: type |
45c73da050e9
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents:
9074
diff
changeset
|
1540 |
compiler.warn.try.resource.throws.interrupted.exc=\ |
45c73da050e9
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents:
9074
diff
changeset
|
1541 |
auto-closeable resource {0} has a member method close() that could throw InterruptedException |
45c73da050e9
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents:
9074
diff
changeset
|
1542 |
|
10 | 1543 |
compiler.warn.unchecked.assign=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1544 |
unchecked assignment: {0} to {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1545 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1546 |
# 0: symbol, 1: type |
10 | 1547 |
compiler.warn.unchecked.assign.to.var=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1548 |
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
|
1549 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1550 |
# 0: symbol, 1: type |
10 | 1551 |
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
|
1552 |
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
|
1553 |
|
10 | 1554 |
compiler.warn.unchecked.cast.to.type=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1555 |
unchecked cast to type {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1556 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1557 |
# 0: symbol kind, 1: name, 2: list of type, 3: list of type, 4: symbol kind, 5: symbol |
10 | 1558 |
compiler.warn.unchecked.meth.invocation.applied=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1559 |
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
|
1560 |
required: {2}\n\ |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
1358
diff
changeset
|
1561 |
found: {3} |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
1358
diff
changeset
|
1562 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1563 |
# 0: type |
10 | 1564 |
compiler.warn.unchecked.generic.array.creation=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1565 |
unchecked generic array creation for varargs parameter of type {0} |
10 | 1566 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1567 |
# 0: type |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1568 |
compiler.warn.unchecked.varargs.non.reifiable.type=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1569 |
Possible heap pollution from parameterized vararg type {0} |
5846
6df0e6bcb388
6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents:
5520
diff
changeset
|
1570 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1571 |
# 0: symbol |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1572 |
compiler.warn.varargs.unsafe.use.varargs.param=\ |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1573 |
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
|
1574 |
|
10 | 1575 |
compiler.warn.missing.deprecated.annotation=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1576 |
deprecated item is not annotated with @Deprecated |
10 | 1577 |
|
1578 |
compiler.warn.invalid.archive.file=\ |
|
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1579 |
Unexpected file on path: {0} |
10 | 1580 |
|
1581 |
compiler.warn.unexpected.archive.file=\ |
|
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1582 |
Unexpected extension for archive file: {0} |
10 | 1583 |
|
1584 |
compiler.warn.div.zero=\ |
|
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1585 |
division by zero |
10 | 1586 |
|
1587 |
compiler.warn.empty.if=\ |
|
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1588 |
empty statement after if |
10 | 1589 |
|
1590 |
compiler.warn.annotation.method.not.found=\ |
|
1591 |
Cannot find annotation method ''{1}()'' in type ''{0}'' |
|
1592 |
||
1593 |
compiler.warn.annotation.method.not.found.reason=\ |
|
1594 |
Cannot find annotation method ''{1}()'' in type ''{0}'': {2} |
|
1595 |
||
9603
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
1596 |
# 0: symbol, 1: name |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
1597 |
compiler.warn.unknown.enum.constant=\ |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
1598 |
unknown enum constant {1}.{2} |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
1599 |
|
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
1600 |
# 0: symbol, 1: name, 2: message segment |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
1601 |
compiler.warn.unknown.enum.constant.reason=\ |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
1602 |
unknown enum constant {1}.{2}\n\ |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
1603 |
reason: {3} |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
1604 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1605 |
# 0: type, 1: type |
1358 | 1606 |
compiler.warn.raw.class.use=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1607 |
found raw type: {0}\n\ |
8045 | 1608 |
missing type arguments for generic class {1} |
1358 | 1609 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1610 |
# 0: unused, 1: unused |
7081
94cfc5b65bed
6939780: add a warning to detect diamond sites
mcimadamore
parents:
7072
diff
changeset
|
1611 |
compiler.warn.diamond.redundant.args=\ |
94cfc5b65bed
6939780: add a warning to detect diamond sites
mcimadamore
parents:
7072
diff
changeset
|
1612 |
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
|
1613 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1614 |
# 0: type, 1: type |
7081
94cfc5b65bed
6939780: add a warning to detect diamond sites
mcimadamore
parents:
7072
diff
changeset
|
1615 |
compiler.warn.diamond.redundant.args.1=\ |
94cfc5b65bed
6939780: add a warning to detect diamond sites
mcimadamore
parents:
7072
diff
changeset
|
1616 |
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
|
1617 |
explicit: {0}\n\ |
94cfc5b65bed
6939780: add a warning to detect diamond sites
mcimadamore
parents:
7072
diff
changeset
|
1618 |
inferred: {1} |
94cfc5b65bed
6939780: add a warning to detect diamond sites
mcimadamore
parents:
7072
diff
changeset
|
1619 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1620 |
# 0: symbol, 1: message segment |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1621 |
compiler.warn.varargs.redundant.trustme.anno=\ |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1622 |
Redundant {0} annotation. {1} |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1623 |
|
10 | 1624 |
##### |
1625 |
||
1626 |
## The following are tokens which are non-terminals in the language. They should |
|
1627 |
## be named as JLS3 calls them when translated to the appropriate language. |
|
1628 |
compiler.misc.token.identifier=\ |
|
1629 |
<identifier> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1630 |
|
10 | 1631 |
compiler.misc.token.character=\ |
1632 |
<character> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1633 |
|
10 | 1634 |
compiler.misc.token.string=\ |
1635 |
<string> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1636 |
|
10 | 1637 |
compiler.misc.token.integer=\ |
1638 |
<integer> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1639 |
|
10 | 1640 |
compiler.misc.token.long-integer=\ |
1641 |
<long integer> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1642 |
|
10 | 1643 |
compiler.misc.token.float=\ |
1644 |
<float> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1645 |
|
10 | 1646 |
compiler.misc.token.double=\ |
1647 |
<double> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1648 |
|
10 | 1649 |
compiler.misc.token.bad-symbol=\ |
1650 |
<bad symbol> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1651 |
|
10 | 1652 |
compiler.misc.token.end-of-input=\ |
1653 |
<end of input> |
|
1654 |
||
1655 |
## The argument to the following string will always be one of the following: |
|
1656 |
## 1. one of the above non-terminals |
|
1657 |
## 2. a keyword (JLS1.8) |
|
1658 |
## 3. a boolean literal (JLS3.10.3) |
|
1659 |
## 4. the null literal (JLS3.10.7) |
|
1660 |
## 5. a Java separator (JLS3.11) |
|
1661 |
## 6. an operator (JLS3.12) |
|
1662 |
## |
|
1663 |
## 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
|
1664 |
# 0: token |
10 | 1665 |
compiler.err.expected=\ |
1666 |
{0} expected |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1667 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1668 |
# 0: token, 1: token |
10 | 1669 |
compiler.err.expected2=\ |
1670 |
{0} or {1} expected |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1671 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1672 |
# 0: token, 1: token, 2: token |
10 | 1673 |
compiler.err.expected3=\ |
1674 |
{0}, {1}, or {2} expected |
|
1675 |
||
1676 |
compiler.err.premature.eof=\ |
|
1677 |
reached end of file while parsing |
|
1678 |
||
1679 |
## The following are related in form, but do not easily fit the above paradigm. |
|
1680 |
compiler.err.dot.class.expected=\ |
|
1681 |
''.class'' expected |
|
1682 |
||
1683 |
## 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
|
1684 |
# 0: token |
10 | 1685 |
compiler.err.orphaned=\ |
1686 |
orphaned {0} |
|
1687 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1688 |
# 0: name |
10 | 1689 |
compiler.misc.anonymous.class=\ |
1690 |
<anonymous {0}> |
|
1691 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1692 |
# 0: name, 1: type |
1357 | 1693 |
compiler.misc.type.captureof=\ |
1694 |
capture#{0} of {1} |
|
1695 |
||
2221
cd6557bcaa0a
6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents:
2085
diff
changeset
|
1696 |
compiler.misc.type.captureof.1=\ |
cd6557bcaa0a
6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents:
2085
diff
changeset
|
1697 |
capture#{0} |
cd6557bcaa0a
6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents:
2085
diff
changeset
|
1698 |
|
1357 | 1699 |
compiler.misc.type.none=\ |
1700 |
<none> |
|
1701 |
||
10 | 1702 |
compiler.misc.unnamed.package=\ |
1703 |
unnamed package |
|
1704 |
||
1705 |
##### |
|
1706 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1707 |
# 0: symbol, 1: message segment |
10 | 1708 |
compiler.err.cant.access=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1709 |
cannot access {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1710 |
{1} |
10 | 1711 |
|
23790
0697e38017ec
6898851: Compiling against this corrupt class file causes a stacktrace from javac
pgovereau
parents:
23133
diff
changeset
|
1712 |
# 0: class name |
0697e38017ec
6898851: Compiling against this corrupt class file causes a stacktrace from javac
pgovereau
parents:
23133
diff
changeset
|
1713 |
compiler.misc.bad.class.file=\ |
0697e38017ec
6898851: Compiling against this corrupt class file causes a stacktrace from javac
pgovereau
parents:
23133
diff
changeset
|
1714 |
class file is invalid for class {0} |
0697e38017ec
6898851: Compiling against this corrupt class file causes a stacktrace from javac
pgovereau
parents:
23133
diff
changeset
|
1715 |
|
21006
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
1716 |
# 0: file name, 1: message segment |
10 | 1717 |
compiler.misc.bad.class.file.header=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1718 |
bad class file: {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1719 |
{1}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1720 |
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
|
1721 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1722 |
# 0: file name, 1: message segment |
169 | 1723 |
compiler.misc.bad.source.file.header=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1724 |
bad source file: {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1725 |
{1}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1726 |
Please remove or make sure it appears in the correct subdirectory of the sourcepath. |
10 | 1727 |
|
1728 |
## The following are all possible strings for the second argument ({1}) of the |
|
1729 |
## above strings. |
|
1730 |
compiler.misc.bad.class.signature=\ |
|
1731 |
bad class signature: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1732 |
|
9077
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
1733 |
#0: symbol, 1: symbol |
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
1734 |
compiler.misc.bad.enclosing.class=\ |
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
1735 |
bad enclosing class for {0}: {1} |
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
1736 |
|
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
1737 |
# 0: symbol |
10 | 1738 |
compiler.misc.bad.enclosing.method=\ |
9077
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
1739 |
bad enclosing method attribute for class {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1740 |
|
10 | 1741 |
compiler.misc.bad.runtime.invisible.param.annotations=\ |
1742 |
bad RuntimeInvisibleParameterAnnotations attribute: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1743 |
|
10 | 1744 |
compiler.misc.bad.const.pool.tag=\ |
1745 |
bad constant pool tag: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1746 |
|
10 | 1747 |
compiler.misc.bad.const.pool.tag.at=\ |
1748 |
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
|
1749 |
|
10 | 1750 |
compiler.misc.bad.signature=\ |
1751 |
bad signature: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1752 |
|
15385 | 1753 |
compiler.misc.bad.type.annotation.value=\ |
1754 |
bad type annotation target type value: {0} |
|
1755 |
||
10 | 1756 |
compiler.misc.class.file.wrong.class=\ |
1757 |
class file contains wrong class: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1758 |
|
10 | 1759 |
compiler.misc.class.file.not.found=\ |
1760 |
class file for {0} not found |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1761 |
|
21006
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
1762 |
# 0: classfile major version, 1: classfile minor version |
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
1763 |
compiler.misc.invalid.default.interface=\ |
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
1764 |
default method found in version {0}.{1} classfile |
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
1765 |
|
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
1766 |
# 0: classfile major version, 1: classfile minor version |
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
1767 |
compiler.misc.invalid.static.interface=\ |
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
1768 |
static method found in version {0}.{1} classfile |
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
1769 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1770 |
# 0: name |
10 | 1771 |
compiler.misc.file.doesnt.contain.class=\ |
1772 |
file does not contain class {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1773 |
|
10 | 1774 |
compiler.misc.file.does.not.contain.package=\ |
1775 |
file does not contain package {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1776 |
|
10 | 1777 |
compiler.misc.illegal.start.of.class.file=\ |
1778 |
illegal start of class file |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1779 |
|
10 | 1780 |
compiler.misc.unable.to.access.file=\ |
1781 |
unable to access file: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1782 |
|
10 | 1783 |
compiler.misc.unicode.str.not.supported=\ |
1784 |
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
|
1785 |
|
10 | 1786 |
compiler.misc.undecl.type.var=\ |
1787 |
undeclared type variable: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1788 |
|
10 | 1789 |
compiler.misc.wrong.version=\ |
1790 |
class file has wrong version {0}.{1}, should be {2}.{3} |
|
1791 |
||
1792 |
##### |
|
1793 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1794 |
# 0: type, 1: type or symbol |
10 | 1795 |
compiler.err.not.within.bounds=\ |
8045 | 1796 |
type argument {0} is not within bounds of type-variable {1} |
10 | 1797 |
|
1798 |
## The following are all possible strings for the second argument ({1}) of the |
|
1799 |
## above string. |
|
1800 |
||
1801 |
## none yet... |
|
1802 |
||
1803 |
##### |
|
1804 |
||
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1805 |
# 0: message segment |
10 | 1806 |
compiler.err.prob.found.req=\ |
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1807 |
incompatible types: {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1808 |
|
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
1809 |
# 0: message segment |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
1810 |
compiler.misc.prob.found.req=\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
1811 |
incompatible types: {0} |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
1812 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1813 |
# 0: message segment, 1: type, 2: type |
10 | 1814 |
compiler.warn.prob.found.req=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1815 |
{0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1816 |
required: {2}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1817 |
found: {1} |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1818 |
|
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1819 |
# 0: type, 1: type |
10 | 1820 |
compiler.misc.inconvertible.types=\ |
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1821 |
{0} cannot be converted to {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1822 |
|
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1823 |
# 0: type, 1: type |
10 | 1824 |
compiler.misc.possible.loss.of.precision=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1825 |
possible lossy conversion from {0} to {1} |
10 | 1826 |
|
1827 |
compiler.misc.unchecked.assign=\ |
|
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1828 |
unchecked conversion |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1829 |
|
10 | 1830 |
# compiler.misc.storecheck=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1831 |
# assignment might cause later store checks to fail |
10 | 1832 |
# compiler.misc.unchecked=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1833 |
# assigned array cannot dynamically check its stores |
10 | 1834 |
compiler.misc.unchecked.cast.to.type=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1835 |
unchecked cast |
10 | 1836 |
|
1837 |
# compiler.err.star.expected=\ |
|
1838 |
# ''*'' expected |
|
1839 |
# compiler.err.no.elem.type=\ |
|
1840 |
# \[\*\] cannot have a type |
|
1841 |
||
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1842 |
# 0: type |
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
1843 |
compiler.misc.try.not.applicable.to.type=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1844 |
try-with-resources not applicable to variable type\n\ |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1845 |
({0}) |
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
1846 |
|
10 | 1847 |
##### |
1848 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1849 |
# 0: message segment or type, 1: message segment |
10 | 1850 |
compiler.err.type.found.req=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1851 |
unexpected type\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1852 |
required: {1}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1853 |
found: {0} |
10 | 1854 |
|
1855 |
## The following are all possible strings for the first argument ({0}) of the |
|
1856 |
## above string. |
|
1857 |
compiler.misc.type.req.class=\ |
|
1858 |
class |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1859 |
|
10 | 1860 |
compiler.misc.type.req.class.array=\ |
1861 |
class or array |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1862 |
|
8045 | 1863 |
compiler.misc.type.req.array.or.iterable=\ |
1864 |
array or java.lang.Iterable |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1865 |
|
10 | 1866 |
compiler.misc.type.req.ref=\ |
1867 |
reference |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1868 |
|
10 | 1869 |
compiler.misc.type.req.exact=\ |
1870 |
class or interface without bounds |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1871 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1872 |
# 0: type |
10 | 1873 |
compiler.misc.type.parameter=\ |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
1874 |
type parameter {0} |
10 | 1875 |
|
1876 |
##### |
|
1877 |
||
1878 |
## The following are all possible strings for the last argument of all those |
|
1879 |
## diagnostics whose key ends in ".1" |
|
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1880 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1881 |
# 0: type, 1: list of type |
10 | 1882 |
compiler.misc.no.unique.maximal.instance.exists=\ |
1883 |
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
|
1884 |
|
10 | 1885 |
compiler.misc.no.unique.minimal.instance.exists=\ |
1886 |
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
|
1887 |
|
10628
dca7012223bc
7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents:
10626
diff
changeset
|
1888 |
# 0: type, 1: list of type |
dca7012223bc
7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents:
10626
diff
changeset
|
1889 |
compiler.misc.incompatible.upper.bounds=\ |
dca7012223bc
7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents:
10626
diff
changeset
|
1890 |
inference variable {0} has incompatible upper bounds {1} |
dca7012223bc
7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents:
10626
diff
changeset
|
1891 |
|
14048
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1892 |
# 0: type, 1: list of type, 2: list of type |
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1893 |
compiler.misc.incompatible.eq.upper.bounds=\ |
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1894 |
inference variable {0} has incompatible bounds\n\ |
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1895 |
equality constraints: {1}\n\ |
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1896 |
upper bounds: {2} |
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1897 |
|
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1898 |
# 0: type, 1: list of type, 2: list of type |
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1899 |
compiler.misc.incompatible.eq.lower.bounds=\ |
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1900 |
inference variable {0} has incompatible bounds\n\ |
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1901 |
equality constraints: {1}\n\ |
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1902 |
lower bounds: {2} |
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
1903 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1904 |
# 0: list of type, 1: type, 2: type |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
1905 |
compiler.misc.infer.no.conforming.instance.exists=\ |
10 | 1906 |
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
|
1907 |
|
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1908 |
# 0: list of type, 1: message segment |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
1909 |
compiler.misc.infer.no.conforming.assignment.exists=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1910 |
cannot infer type-variable(s) {0}\n\ |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1911 |
(argument mismatch; {1}) |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1912 |
|
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1913 |
# 0: list of type |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
1914 |
compiler.misc.infer.arg.length.mismatch=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1915 |
cannot infer type-variable(s) {0}\n\ |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1916 |
(actual and formal argument lists differ in length) |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1917 |
|
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1918 |
# 0: list of type, 1: message segment |
11707
532f41763bc9
7129801: Merge the two method applicability routines
mcimadamore
parents:
11383
diff
changeset
|
1919 |
compiler.misc.infer.varargs.argument.mismatch=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1920 |
cannot infer type-variable(s) {0}\n\ |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1921 |
(varargs mismatch; {1}) |
11707
532f41763bc9
7129801: Merge the two method applicability routines
mcimadamore
parents:
11383
diff
changeset
|
1922 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1923 |
# 0: type, 1: list of type |
12468
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1924 |
compiler.misc.inferred.do.not.conform.to.upper.bounds=\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1925 |
inferred type does not conform to upper bound(s)\n\ |
3140
15a274b13051
6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents:
2984
diff
changeset
|
1926 |
inferred: {0}\n\ |
12468
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1927 |
upper bound(s): {1} |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1928 |
|
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1929 |
# 0: type, 1: list of type |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1930 |
compiler.misc.inferred.do.not.conform.to.lower.bounds=\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1931 |
inferred type does not conform to lower bound(s)\n\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1932 |
inferred: {0}\n\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1933 |
lower bound(s): {1} |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1934 |
|
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1935 |
# 0: type, 1: list of type |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1936 |
compiler.misc.inferred.do.not.conform.to.eq.bounds=\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1937 |
inferred type does not conform to equality constraint(s)\n\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1938 |
inferred: {0}\n\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
1939 |
equality constraints(s): {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1940 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1941 |
# 0: symbol |
5321
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
1942 |
compiler.misc.diamond=\ |
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
1943 |
{0}<> |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1944 |
|
8431
21758b2bba40
7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents:
8428
diff
changeset
|
1945 |
# 0: type |
21758b2bba40
7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents:
8428
diff
changeset
|
1946 |
compiler.misc.diamond.non.generic=\ |
21758b2bba40
7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents:
8428
diff
changeset
|
1947 |
cannot use ''<>'' with non-generic class {0} |
21758b2bba40
7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents:
8428
diff
changeset
|
1948 |
|
11053
48713f779b1d
7108669: cleanup Log methods for direct printing to streams
jjg
parents:
10816
diff
changeset
|
1949 |
# 0: unused |
9604
d7152128d22f
7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents:
9603
diff
changeset
|
1950 |
compiler.misc.diamond.and.explicit.params=\ |
d7152128d22f
7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents:
9603
diff
changeset
|
1951 |
cannot use ''<>'' with explicit type parameters for constructor |
d7152128d22f
7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents:
9603
diff
changeset
|
1952 |
|
19918
3bdf0c6b869c
8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents:
19914
diff
changeset
|
1953 |
# 0: unused |
3bdf0c6b869c
8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents:
19914
diff
changeset
|
1954 |
compiler.misc.mref.infer.and.explicit.params=\ |
3bdf0c6b869c
8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents:
19914
diff
changeset
|
1955 |
cannot use raw constructor reference with explicit type parameters for constructor |
3bdf0c6b869c
8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents:
19914
diff
changeset
|
1956 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1957 |
# 0: type, 1: list of type |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
1958 |
compiler.misc.explicit.param.do.not.conform.to.bounds=\ |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
1959 |
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
|
1960 |
|
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
1961 |
compiler.misc.arg.length.mismatch=\ |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
1962 |
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
|
1963 |
|
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1964 |
# 0: message segment |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
1965 |
compiler.misc.no.conforming.assignment.exists=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1966 |
argument mismatch; {0} |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1967 |
|
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1968 |
# 0: message segment |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
1969 |
compiler.misc.varargs.argument.mismatch=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
1970 |
varargs mismatch; {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1971 |
|
10 | 1972 |
##### |
1973 |
||
17578 | 1974 |
# 0: symbol or type, 1: file name |
14369
3d660d08d1f7
7153951: Add new lint option -Xlint:auxiliaryclass
ohrstrom
parents:
14267
diff
changeset
|
1975 |
compiler.warn.auxiliary.class.accessed.from.outside.of.its.source.file=\ |
3d660d08d1f7
7153951: Add new lint option -Xlint:auxiliaryclass
ohrstrom
parents:
14267
diff
changeset
|
1976 |
auxiliary class {0} in {1} should not be accessed from outside its own source file |
3d660d08d1f7
7153951: Add new lint option -Xlint:auxiliaryclass
ohrstrom
parents:
14267
diff
changeset
|
1977 |
|
10 | 1978 |
## 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
|
1979 |
# 0: symbol kind, 1: symbol, 2: symbol |
10 | 1980 |
compiler.err.abstract.cant.be.accessed.directly=\ |
1981 |
abstract {0} {1} in {2} cannot be accessed directly |
|
1982 |
||
1983 |
## 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
|
1984 |
# 0: symbol kind, 1: symbol |
10 | 1985 |
compiler.err.non-static.cant.be.ref=\ |
1986 |
non-static {0} {1} cannot be referenced from a static context |
|
1987 |
||
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
1988 |
# 0: symbol kind, 1: symbol |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
1989 |
compiler.misc.non-static.cant.be.ref=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
1990 |
non-static {0} {1} cannot be referenced from a static context |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
1991 |
|
16323
c4409c235642
8008537: Missing method reference lookup error when unbound search finds a static method
mcimadamore
parents:
16320
diff
changeset
|
1992 |
# 0: symbol kind, 1: symbol |
c4409c235642
8008537: Missing method reference lookup error when unbound search finds a static method
mcimadamore
parents:
16320
diff
changeset
|
1993 |
compiler.misc.static.method.in.unbound.lookup=\ |
c4409c235642
8008537: Missing method reference lookup error when unbound search finds a static method
mcimadamore
parents:
16320
diff
changeset
|
1994 |
static {0} {1} found in unbound lookup |
c4409c235642
8008537: Missing method reference lookup error when unbound search finds a static method
mcimadamore
parents:
16320
diff
changeset
|
1995 |
|
10 | 1996 |
## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list |
1997 |
## of kindnames (the list should be identical to that provided in source. |
|
1998 |
compiler.err.unexpected.type=\ |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1999 |
unexpected type\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2000 |
required: {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2001 |
found: {1} |
10 | 2002 |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
2003 |
compiler.err.unexpected.lambda=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
2004 |
lambda expression not expected here |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
2005 |
|
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2006 |
compiler.err.unexpected.mref=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2007 |
method reference not expected here |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2008 |
|
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2009 |
## 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
|
2010 |
## 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
|
2011 |
## 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
|
2012 |
## 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
|
2013 |
# 0: symbol kind, 1: name, 2: unused, 3: unused |
10 | 2014 |
compiler.err.cant.resolve=\ |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2015 |
cannot find symbol\n\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2016 |
symbol: {0} {1} |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2017 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2018 |
# 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
|
2019 |
compiler.err.cant.resolve.args=\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2020 |
cannot find symbol\n\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2021 |
symbol: {0} {1}({3}) |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2022 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2023 |
# 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
|
2024 |
compiler.err.cant.resolve.args.params=\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2025 |
cannot find symbol\n\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2026 |
symbol: {0} <{2}>{1}({3}) |
10 | 2027 |
|
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2028 |
## arguments from {0} to {3} have the same meaning as above |
8045 | 2029 |
## 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
|
2030 |
# 0: symbol kind, 1: name, 2: unused, 3: unused, 4: message segment |
10 | 2031 |
compiler.err.cant.resolve.location=\ |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2032 |
cannot find symbol\n\ |
2085
4792e12a8ca2
6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents:
1996
diff
changeset
|
2033 |
symbol: {0} {1}\n\ |
8045 | 2034 |
location: {4} |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2035 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2036 |
# 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
|
2037 |
compiler.err.cant.resolve.location.args=\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2038 |
cannot find symbol\n\ |
2085
4792e12a8ca2
6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents:
1996
diff
changeset
|
2039 |
symbol: {0} {1}({3})\n\ |
8045 | 2040 |
location: {4} |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2041 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2042 |
# 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
|
2043 |
compiler.err.cant.resolve.location.args.params=\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2044 |
cannot find symbol\n\ |
2085
4792e12a8ca2
6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents:
1996
diff
changeset
|
2045 |
symbol: {0} <{2}>{1}({3})\n\ |
8045 | 2046 |
location: {4} |
2047 |
||
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2048 |
### Following are replicated/used for method reference diagnostics |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2049 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2050 |
# 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2051 |
compiler.misc.cant.resolve.location.args=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2052 |
cannot find symbol\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2053 |
symbol: {0} {1}({3})\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2054 |
location: {4} |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2055 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2056 |
# 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2057 |
compiler.misc.cant.resolve.location.args.params=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2058 |
cannot find symbol\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2059 |
symbol: {0} <{2}>{1}({3})\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2060 |
location: {4} |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2061 |
|
8045 | 2062 |
##a location subdiagnostic is composed as follows: |
2063 |
## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.) |
|
2064 |
## The second argument {1} is the location name |
|
2065 |
## The third argument {2} is the location type (only when {1} is a variable name) |
|
2066 |
||
11053
48713f779b1d
7108669: cleanup Log methods for direct printing to streams
jjg
parents:
10816
diff
changeset
|
2067 |
# 0: symbol kind, 1: type or symbol, 2: unused |
8045 | 2068 |
compiler.misc.location=\ |
2069 |
{0} {1} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2070 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2071 |
# 0: symbol kind, 1: symbol, 2: type |
8045 | 2072 |
compiler.misc.location.1=\ |
2073 |
{0} {1} of type {2} |
|
10 | 2074 |
|
2075 |
## The following are all possible string for "kindname". |
|
2076 |
## They should be called whatever the JLS calls them after it been translated |
|
2077 |
## to the appropriate language. |
|
2078 |
# compiler.misc.kindname.constructor=\ |
|
2079 |
# static member |
|
2080 |
compiler.misc.kindname.annotation=\ |
|
2081 |
@interface |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2082 |
|
10 | 2083 |
compiler.misc.kindname.constructor=\ |
2084 |
constructor |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2085 |
|
6031
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
2086 |
compiler.misc.kindname.enum=\ |
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
2087 |
enum |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2088 |
|
10 | 2089 |
compiler.misc.kindname.interface=\ |
2090 |
interface |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2091 |
|
10 | 2092 |
compiler.misc.kindname.static=\ |
2093 |
static |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2094 |
|
10 | 2095 |
compiler.misc.kindname.type.variable=\ |
2096 |
type variable |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2097 |
|
10 | 2098 |
compiler.misc.kindname.type.variable.bound=\ |
2099 |
bound of type variable |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2100 |
|
10 | 2101 |
compiler.misc.kindname.variable=\ |
2102 |
variable |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2103 |
|
10 | 2104 |
compiler.misc.kindname.value=\ |
2105 |
value |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2106 |
|
10 | 2107 |
compiler.misc.kindname.method=\ |
2108 |
method |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2109 |
|
10 | 2110 |
compiler.misc.kindname.class=\ |
2111 |
class |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2112 |
|
10 | 2113 |
compiler.misc.kindname.package=\ |
2114 |
package |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2115 |
|
10626
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2116 |
compiler.misc.kindname.static.init=\ |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2117 |
static initializer |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2118 |
|
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2119 |
compiler.misc.kindname.instance.init=\ |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2120 |
instance initializer |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2121 |
|
10 | 2122 |
##### |
2123 |
||
1534
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
1358
diff
changeset
|
2124 |
compiler.misc.no.args=\ |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
1358
diff
changeset
|
2125 |
no arguments |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
1358
diff
changeset
|
2126 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2127 |
# 0: message segment |
10 | 2128 |
compiler.err.override.static=\ |
3560 | 2129 |
{0}\n\ |
2130 |
overriding method is static |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2131 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2132 |
# 0: message segment, 1: set of modifier |
10 | 2133 |
compiler.err.override.meth=\ |
3560 | 2134 |
{0}\n\ |
2135 |
overridden method is {1} |
|
10 | 2136 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2137 |
# 0: message segment, 1: type |
10 | 2138 |
compiler.err.override.meth.doesnt.throw=\ |
3560 | 2139 |
{0}\n\ |
2140 |
overridden method does not throw {1} |
|
10 | 2141 |
|
2142 |
# In the following string {1} is a space separated list of Java Keywords, as |
|
2143 |
# 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
|
2144 |
# 0: message segment, 1: set of modifier |
10 | 2145 |
compiler.err.override.weaker.access=\ |
3560 | 2146 |
{0}\n\ |
2147 |
attempting to assign weaker access privileges; was {1} |
|
2148 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2149 |
# 0: message segment, 1: type, 2: type |
3560 | 2150 |
compiler.err.override.incompatible.ret=\ |
2151 |
{0}\n\ |
|
2152 |
return type {1} is not compatible with {2} |
|
10 | 2153 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2154 |
# 0: message segment, 1: type, 2: type |
3560 | 2155 |
compiler.warn.override.unchecked.ret=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
2156 |
{0}\n\ |
3560 | 2157 |
return type requires unchecked conversion from {1} to {2} |
10 | 2158 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2159 |
# 0: message segment, 1: type |
3560 | 2160 |
compiler.warn.override.unchecked.thrown=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
2161 |
{0}\n\ |
3560 | 2162 |
overridden method does not throw {1} |
10 | 2163 |
|
16333 | 2164 |
# 0: symbol |
16301
b6fd735ea78e
6563143: javac should issue a warning for overriding equals without hashCode
vromero
parents:
16294
diff
changeset
|
2165 |
compiler.warn.override.equals.but.not.hashcode=\ |
16320
92ba27b7aaf3
8008436: javac should not issue a warning for overriding equals without hasCode if hashCode has been overriden by a superclass
vromero
parents:
16316
diff
changeset
|
2166 |
Class {0} overrides equals, but neither it nor any superclass overrides hashCode method |
16301
b6fd735ea78e
6563143: javac should issue a warning for overriding equals without hashCode
vromero
parents:
16294
diff
changeset
|
2167 |
|
10 | 2168 |
## The following are all possible strings for the first argument ({0}) of the |
2169 |
## above strings. |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2170 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2171 |
compiler.misc.cant.override=\ |
2172 |
{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
|
2173 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2174 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2175 |
compiler.misc.cant.implement=\ |
2176 |
{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
|
2177 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2178 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2179 |
compiler.misc.clashes.with=\ |
2180 |
{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
|
2181 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2182 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2183 |
compiler.misc.unchecked.override=\ |
2184 |
{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
|
2185 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2186 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2187 |
compiler.misc.unchecked.implement=\ |
2188 |
{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
|
2189 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2190 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2191 |
compiler.misc.unchecked.clash.with=\ |
2192 |
{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
|
2193 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2194 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2195 |
compiler.misc.varargs.override=\ |
2196 |
{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
|
2197 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2198 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2199 |
compiler.misc.varargs.implement=\ |
2200 |
{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
|
2201 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2202 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2203 |
compiler.misc.varargs.clash.with=\ |
2204 |
{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
|
2205 |
|
11053
48713f779b1d
7108669: cleanup Log methods for direct printing to streams
jjg
parents:
10816
diff
changeset
|
2206 |
# 0: unused |
8635
383a416a2bdf
7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
mcimadamore
parents:
8431
diff
changeset
|
2207 |
compiler.misc.diamond.and.anon.class=\ |
383a416a2bdf
7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
mcimadamore
parents:
8431
diff
changeset
|
2208 |
cannot use ''<>'' with anonymous inner classes |
10 | 2209 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2210 |
# 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
|
2211 |
compiler.misc.inapplicable.method=\ |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2212 |
{0} {1}.{2} is not applicable\n\ |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2213 |
({3}) |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2214 |
|
10 | 2215 |
######################################## |
2216 |
# Diagnostics for language feature changes |
|
2217 |
######################################## |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2218 |
# 0: string |
10 | 2219 |
compiler.err.unsupported.fp.lit=\ |
3895 | 2220 |
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
|
2221 |
(use -source 5 or higher to enable hexadecimal floating point literals) |
3895 | 2222 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2223 |
# 0: string |
3895 | 2224 |
compiler.err.unsupported.binary.lit=\ |
2225 |
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
|
2226 |
(use -source 7 or higher to enable binary literals) |
3895 | 2227 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2228 |
# 0: string |
3895 | 2229 |
compiler.err.unsupported.underscore.lit=\ |
2230 |
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
|
2231 |
(use -source 7 or higher to enable underscores in literals) |
10 | 2232 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2233 |
# 0: string |
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
2234 |
compiler.err.try.with.resources.not.supported.in.source=\ |
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
2235 |
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
|
2236 |
(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
|
2237 |
|
10 | 2238 |
compiler.warn.enum.as.identifier=\ |
2239 |
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
|
2240 |
(use -source 5 or higher to use ''enum'' as a keyword) |
10 | 2241 |
|
2242 |
compiler.warn.assert.as.identifier=\ |
|
2243 |
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
|
2244 |
(use -source 1.4 or higher to use ''assert'' as a keyword) |
10 | 2245 |
|
15367 | 2246 |
compiler.warn.underscore.as.identifier=\ |
2247 |
''_'' used as an identifier\n\ |
|
18387
35919f2f7a9c
8008547: javac, warning message: use of ''_'' as an identifier might not be supported in future releases, should be more especific
vromero
parents:
18386
diff
changeset
|
2248 |
(use of ''_'' as an identifier might not be supported in releases after Java SE 8) |
15367 | 2249 |
|
20609
dce669916b62
8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents:
19918
diff
changeset
|
2250 |
compiler.err.underscore.as.identifier.in.lambda=\ |
dce669916b62
8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents:
19918
diff
changeset
|
2251 |
''_'' used as an identifier\n\ |
dce669916b62
8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents:
19918
diff
changeset
|
2252 |
(use of ''_'' as an identifier is forbidden for lambda parameters) |
dce669916b62
8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents:
19918
diff
changeset
|
2253 |
|
10 | 2254 |
compiler.err.enum.as.identifier=\ |
2255 |
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
|
2256 |
(use -source 1.4 or lower to use ''enum'' as an identifier) |
10 | 2257 |
|
2258 |
compiler.err.assert.as.identifier=\ |
|
2259 |
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
|
2260 |
(use -source 1.3 or lower to use ''assert'' as an identifier) |
10 | 2261 |
|
15385 | 2262 |
# TODO 308: make a better error message |
2263 |
compiler.err.this.as.identifier=\ |
|
2264 |
as of release 8, ''this'' is allowed as the parameter name for the receiver type only, which has to be the first parameter |
|
2265 |
||
17578 | 2266 |
# 0: symbol |
2267 |
compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\ |
|
2268 |
receiver parameter not applicable for constructor of top-level class |
|
2269 |
||
15385 | 2270 |
# TODO 308: make a better error message |
21041 | 2271 |
# 0: symbol |
2272 |
compiler.err.cant.type.annotate.scoping.1=\ |
|
2273 |
scoping construct cannot be annotated with type-use annotation: {0} |
|
17578 | 2274 |
|
15385 | 2275 |
# TODO 308: make a better error message |
21041 | 2276 |
# 0: list of symbol |
2277 |
compiler.err.cant.type.annotate.scoping=\ |
|
2278 |
scoping construct cannot be annotated with type-use annotations: {0} |
|
15385 | 2279 |
|
17578 | 2280 |
# 0: type, 1: type |
2281 |
compiler.err.incorrect.receiver.name=\ |
|
2282 |
the receiver name does not match the enclosing class type\n\ |
|
2283 |
required: {0}\n\ |
|
2284 |
found: {1} |
|
2285 |
||
2286 |
# 0: type, 1: type |
|
15385 | 2287 |
compiler.err.incorrect.receiver.type=\ |
17578 | 2288 |
the receiver type does not match the enclosing class type\n\ |
2289 |
required: {0}\n\ |
|
2290 |
found: {1} |
|
2291 |
||
2292 |
# 0: type, 1: type |
|
2293 |
compiler.err.incorrect.constructor.receiver.type=\ |
|
2294 |
the receiver type does not match the enclosing outer class type\n\ |
|
2295 |
required: {0}\n\ |
|
2296 |
found: {1} |
|
2297 |
||
2298 |
# 0: type, 1: type |
|
2299 |
compiler.err.incorrect.constructor.receiver.name=\ |
|
2300 |
the receiver name does not match the enclosing outer class type\n\ |
|
2301 |
required: {0}\n\ |
|
2302 |
found: {1} |
|
15385 | 2303 |
|
2304 |
compiler.err.no.annotations.on.dot.class=\ |
|
2305 |
no annotations are allowed in the type of a class literal |
|
2306 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2307 |
# 0: string |
10 | 2308 |
compiler.err.generics.not.supported.in.source=\ |
2309 |
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
|
2310 |
(use -source 5 or higher to enable generics) |
10 | 2311 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2312 |
# 0: string |
10 | 2313 |
compiler.err.varargs.not.supported.in.source=\ |
2314 |
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
|
2315 |
(use -source 5 or higher to enable variable-arity methods) |
10 | 2316 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2317 |
# 0: string |
10 | 2318 |
compiler.err.annotations.not.supported.in.source=\ |
2319 |
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
|
2320 |
(use -source 5 or higher to enable annotations) |
10 | 2321 |
|
15385 | 2322 |
# 0: string |
2323 |
compiler.err.type.annotations.not.supported.in.source=\ |
|
2324 |
type annotations are not supported in -source {0}\n\ |
|
2325 |
(use -source 8 or higher to enable type annotations) |
|
3149 | 2326 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2327 |
# 0: string |
23800
f7ffcfe938f2
8035890: jdk8 javac -source 7 compiles test case it should not
jlahoda
parents:
23790
diff
changeset
|
2328 |
compiler.err.annotations.after.type.params.not.supported.in.source=\ |
f7ffcfe938f2
8035890: jdk8 javac -source 7 compiles test case it should not
jlahoda
parents:
23790
diff
changeset
|
2329 |
annotations after method type parameters are not supported in -source {0}\n\ |
f7ffcfe938f2
8035890: jdk8 javac -source 7 compiles test case it should not
jlahoda
parents:
23790
diff
changeset
|
2330 |
(use -source 8 or higher to enable annotations after method type parameters) |
f7ffcfe938f2
8035890: jdk8 javac -source 7 compiles test case it should not
jlahoda
parents:
23790
diff
changeset
|
2331 |
|
f7ffcfe938f2
8035890: jdk8 javac -source 7 compiles test case it should not
jlahoda
parents:
23790
diff
changeset
|
2332 |
# 0: string |
21009 | 2333 |
compiler.err.repeatable.annotations.not.supported.in.source=\ |
2334 |
repeated annotations are not supported in -source {0}\n\ |
|
2335 |
(use -source 8 or higher to enable repeated annotations) |
|
2336 |
||
2337 |
# 0: string |
|
10 | 2338 |
compiler.err.foreach.not.supported.in.source=\ |
21009 | 2339 |
enhanced for 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
|
2340 |
(use -source 5 or higher to enable for-each loops) |
10 | 2341 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2342 |
# 0: string |
10 | 2343 |
compiler.err.static.import.not.supported.in.source=\ |
2344 |
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
|
2345 |
(use -source 5 or higher to enable static import declarations) |
10 | 2346 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2347 |
# 0: string |
10 | 2348 |
compiler.err.enums.not.supported.in.source=\ |
2349 |
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
|
2350 |
(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
|
2351 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2352 |
# 0: string |
6031
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
2353 |
compiler.err.diamond.not.supported.in.source=\ |
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
2354 |
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
|
2355 |
(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
|
2356 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2357 |
# 0: string |
5492
515e4b33b335
6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents:
5321
diff
changeset
|
2358 |
compiler.err.multicatch.not.supported.in.source=\ |
515e4b33b335
6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents:
5321
diff
changeset
|
2359 |
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
|
2360 |
(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
|
2361 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2362 |
# 0: string |
4142 | 2363 |
compiler.err.string.switch.not.supported.in.source=\ |
2364 |
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
|
2365 |
(use -source 7 or higher to enable strings in switch) |
4142 | 2366 |
|
11143
9dbe313bfb74
7115050: Add parser support for lambda expressions
mcimadamore
parents:
11053
diff
changeset
|
2367 |
# 0: string |
9dbe313bfb74
7115050: Add parser support for lambda expressions
mcimadamore
parents:
11053
diff
changeset
|
2368 |
compiler.err.lambda.not.supported.in.source=\ |
9dbe313bfb74
7115050: Add parser support for lambda expressions
mcimadamore
parents:
11053
diff
changeset
|
2369 |
lambda expressions are not supported in -source {0}\n\ |
9dbe313bfb74
7115050: Add parser support for lambda expressions
mcimadamore
parents:
11053
diff
changeset
|
2370 |
(use -source 8 or higher to enable lambda expressions) |
9dbe313bfb74
7115050: Add parser support for lambda expressions
mcimadamore
parents:
11053
diff
changeset
|
2371 |
|
11144
8a4ae514eedf
7115052: Add parser support for method references
mcimadamore
parents:
11143
diff
changeset
|
2372 |
# 0: string |
8a4ae514eedf
7115052: Add parser support for method references
mcimadamore
parents:
11143
diff
changeset
|
2373 |
compiler.err.method.references.not.supported.in.source=\ |
8a4ae514eedf
7115052: Add parser support for method references
mcimadamore
parents:
11143
diff
changeset
|
2374 |
method references are not supported in -source {0}\n\ |
8a4ae514eedf
7115052: Add parser support for method references
mcimadamore
parents:
11143
diff
changeset
|
2375 |
(use -source 8 or higher to enable method references) |
8a4ae514eedf
7115052: Add parser support for method references
mcimadamore
parents:
11143
diff
changeset
|
2376 |
|
14267
6321fbe0cf50
7192245: Add parser support for default methods
mcimadamore
parents:
14062
diff
changeset
|
2377 |
# 0: string |
6321fbe0cf50
7192245: Add parser support for default methods
mcimadamore
parents:
14062
diff
changeset
|
2378 |
compiler.err.default.methods.not.supported.in.source=\ |
6321fbe0cf50
7192245: Add parser support for default methods
mcimadamore
parents:
14062
diff
changeset
|
2379 |
default methods are not supported in -source {0}\n\ |
6321fbe0cf50
7192245: Add parser support for default methods
mcimadamore
parents:
14062
diff
changeset
|
2380 |
(use -source 8 or higher to enable default methods) |
6321fbe0cf50
7192245: Add parser support for default methods
mcimadamore
parents:
14062
diff
changeset
|
2381 |
|
14725
65836e833f59
8002099: Add support for intersection types in cast expression
mcimadamore
parents:
14724
diff
changeset
|
2382 |
# 0: string |
65836e833f59
8002099: Add support for intersection types in cast expression
mcimadamore
parents:
14724
diff
changeset
|
2383 |
compiler.err.intersection.types.in.cast.not.supported.in.source=\ |
65836e833f59
8002099: Add support for intersection types in cast expression
mcimadamore
parents:
14724
diff
changeset
|
2384 |
intersection types in cast are not supported in -source {0}\n\ |
65836e833f59
8002099: Add support for intersection types in cast expression
mcimadamore
parents:
14724
diff
changeset
|
2385 |
(use -source 8 or higher to enable default methods) |
65836e833f59
8002099: Add support for intersection types in cast expression
mcimadamore
parents:
14724
diff
changeset
|
2386 |
|
15377
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
2387 |
# 0: string |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
2388 |
compiler.err.static.intf.methods.not.supported.in.source=\ |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
2389 |
static interface methods are not supported in -source {0}\n\ |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
2390 |
(use -source 8 or higher to enable static interface methods) |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
2391 |
|
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2392 |
######################################## |
10816
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2393 |
# Diagnostics for verbose resolution |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2394 |
# used by Resolve (debug only) |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2395 |
######################################## |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2396 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2397 |
# 0: number, 1: symbol, 2: unused |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2398 |
compiler.misc.applicable.method.found=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2399 |
#{0} applicable method found: {1} |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2400 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2401 |
# 0: number, 1: symbol, 2: message segment |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2402 |
compiler.misc.applicable.method.found.1=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2403 |
#{0} applicable method found: {1}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2404 |
({2}) |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2405 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2406 |
# 0: number, 1: symbol, 2: message segment |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2407 |
compiler.misc.not.applicable.method.found=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2408 |
#{0} not applicable method found: {1}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2409 |
({2}) |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2410 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2411 |
# 0: type |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2412 |
compiler.misc.partial.inst.sig=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2413 |
partially instantiated to: {0} |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2414 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2415 |
# 0: name, 1: symbol, 2: number, 3: MethodResolutionPhase, 4: list of type or message segment, 5: list of type or message segment |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2416 |
compiler.note.verbose.resolve.multi=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2417 |
resolving method {0} in type {1} to candidate {2}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2418 |
phase: {3}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2419 |
with actuals: {4}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2420 |
with type-args: {5}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2421 |
candidates: |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2422 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2423 |
# 0: name, 1: symbol, 2: unused, 3: MethodResolutionPhase, 4: list of type or message segment, 5: list of type or message segment |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2424 |
compiler.note.verbose.resolve.multi.1=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2425 |
erroneous resolution for method {0} in type {1}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2426 |
phase: {3}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2427 |
with actuals: {4}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2428 |
with type-args: {5}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2429 |
candidates: |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2430 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2431 |
# 0: symbol, 1: type, 2: type |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2432 |
compiler.note.deferred.method.inst=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2433 |
Deferred instantiation of method {0}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2434 |
instantiated signature: {1}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2435 |
target-type: {2} |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2436 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2437 |
######################################## |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2438 |
# Diagnostics for where clause implementation |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2439 |
# used by the RichDiagnosticFormatter. |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2440 |
######################################## |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2441 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2442 |
compiler.misc.type.null=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2443 |
<null> |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2444 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2445 |
# 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
|
2446 |
# 0: name, 1: number |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2447 |
compiler.misc.type.var=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2448 |
{0}#{1} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2449 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2450 |
# 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
|
2451 |
# 0: number |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2452 |
compiler.misc.captured.type=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2453 |
CAP#{0} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2454 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2455 |
# <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
|
2456 |
# 0: number |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2457 |
compiler.misc.intersection.type=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2458 |
INT#{0} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2459 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2460 |
# 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
|
2461 |
# ('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
|
2462 |
# 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
|
2463 |
compiler.misc.where.captured=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2464 |
{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
|
2465 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2466 |
# 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
|
2467 |
# 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
|
2468 |
# 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
|
2469 |
compiler.misc.where.captured.1=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2470 |
{0} extends {1} from capture of {3} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2471 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2472 |
# 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
|
2473 |
# 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
|
2474 |
# 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
|
2475 |
compiler.misc.where.typevar=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2476 |
{0} extends {1} declared in {2} {3} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2477 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2478 |
# 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
|
2479 |
# in which the typevar has been declared |
12468
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2480 |
# 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
|
2481 |
compiler.misc.where.typevar.1=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2482 |
{0} declared in {2} {3} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2483 |
|
12468
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2484 |
# where clause for fresh type variable: contains upper bound(s) ('extends {1}'). |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2485 |
# Since a fresh type-variable is synthetic - there's no location/kindname here. |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2486 |
# 0: type, 1: list of type |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2487 |
compiler.misc.where.fresh.typevar=\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2488 |
{0} extends {1} |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2489 |
|
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2490 |
# 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
|
2491 |
# of this intersection type |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2492 |
# 0: type, 1: list of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2493 |
compiler.misc.where.intersection=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2494 |
{0} extends {1} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2495 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2496 |
### Where clause headers ### |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2497 |
compiler.misc.where.description.captured=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2498 |
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
|
2499 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2500 |
# 0: set of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2501 |
compiler.misc.where.description.typevar=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2502 |
where {0} is a type-variable: |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2503 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2504 |
# 0: set of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2505 |
compiler.misc.where.description.intersection=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2506 |
where {0} is an intersection type: |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2507 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2508 |
# 0: set of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2509 |
compiler.misc.where.description.captured.1=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2510 |
where {0} are fresh type-variables: |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2511 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2512 |
# 0: set of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2513 |
compiler.misc.where.description.typevar.1=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2514 |
where {0} are type-variables: |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2515 |
|
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2516 |
compiler.misc.where.description.intersection.1=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2517 |
where {0} are intersection types: |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2518 |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2519 |
### |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2520 |
# errors related to doc comments |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2521 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2522 |
compiler.err.dc.bad.entity=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2523 |
bad HTML entity |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2524 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2525 |
compiler.err.dc.bad.gt=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2526 |
bad use of ''>'' |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2527 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2528 |
compiler.err.dc.bad.inline.tag=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2529 |
incorrect use of inline tag |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2530 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2531 |
compiler.err.dc.identifier.expected=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2532 |
identifier expected |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2533 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2534 |
compiler.err.dc.malformed.html=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2535 |
malformed HTML |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2536 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2537 |
compiler.err.dc.missing.semicolon=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2538 |
semicolon missing |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2539 |
|
14952 | 2540 |
compiler.err.dc.no.content=\ |
2541 |
no content |
|
2542 |
||
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2543 |
compiler.err.dc.no.tag.name=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2544 |
no tag name after '@' |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2545 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2546 |
compiler.err.dc.gt.expected=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2547 |
''>'' expected |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2548 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2549 |
compiler.err.dc.ref.bad.parens=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2550 |
'')'' missing in reference |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2551 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2552 |
compiler.err.dc.ref.syntax.error=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2553 |
syntax error in reference |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2554 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2555 |
compiler.err.dc.ref.unexpected.input=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2556 |
unexpected text |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2557 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2558 |
compiler.err.dc.unexpected.content=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2559 |
unexpected content |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2560 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2561 |
compiler.err.dc.unterminated.inline.tag=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2562 |
unterminated inline tag |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2563 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2564 |
compiler.err.dc.unterminated.signature=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2565 |
unterminated signature |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2566 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2567 |
compiler.err.dc.unterminated.string=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2568 |
unterminated string |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2569 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
2570 |