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