author | jlahoda |
Wed, 29 Aug 2018 09:36:17 +0200 | |
changeset 51563 | de411d537aae |
parent 51047 | 860a3648c494 |
child 51615 | afbb33428df7 |
permissions | -rw-r--r-- |
10 | 1 |
# |
48367
3a52333a5e57
8187487: crash with classes with same binary name
vromero
parents:
48352
diff
changeset
|
2 |
# Copyright (c) 1999, 2018, 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. |
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
29 |
# The simple types currently in use are: |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
30 |
# |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
31 |
# annotation annotation compound |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
32 |
# boolean true or false |
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
33 |
# diagnostic a sub-message; see compiler.misc.* |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
34 |
# fragment similar to 'message segment', but with more specific type |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
35 |
# modifier a Java modifier; e.g. public, private, protected |
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
36 |
# file a file URL |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
37 |
# file object a file URL - similar to 'file' but typically used for source/class files, hence more specific |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
38 |
# flag a Flags.Flag instance |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
39 |
# name a name, typically a Java identifier |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
40 |
# number an integer |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
41 |
# option name the name of a command line option |
49822
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
42 |
# path a path |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
43 |
# profile a profile name |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
44 |
# source a source version number, such as 1.5, 1.6, 1.7, taken from a com.sun.tools.javac.code.Source |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
45 |
# source version a source version number, such as 1.5, 1.6, 1.7, taken from a javax.lang.model.SourceVersion |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
46 |
# string a general string |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
47 |
# symbol the name of a declared type |
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
48 |
# symbol kind the kind of a symbol (i.e. method, variable) |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
49 |
# kind name an informative description of the kind of a declaration; see compiler.misc.kindname.* |
49822
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
50 |
# target a target version number, such as 1.5, 1.6, 1.7, taken from a com.sun.tools.javac.jvm.Target |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
51 |
# token the name of a non-terminal in source code; see compiler.misc.token.* |
51563
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
52 |
# tree tag the name of a non-terminal in source code; see compiler.misc.token.* |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
53 |
# type a Java type; e.g. int, X, X<T> |
49822
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
54 |
# url a URL |
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
55 |
# object a Java object (unspecified) |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
56 |
# 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
|
57 |
# |
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
58 |
# The following compound types are also used: |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
59 |
# |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
60 |
# collection of X a comma-separated collection of items; e.g. collection of type |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
61 |
# list of X a comma-separated list of items; e.g. list of type |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
62 |
# set of X a comma-separated set of items; e.g. set of modifier |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
63 |
# |
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
64 |
# These may be composed: |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
65 |
# |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
66 |
# list of type or message segment |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
67 |
# |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
68 |
# The following type aliases are supported: |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
69 |
# |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
70 |
# message segment --> diagnostic or fragment |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
71 |
# file name --> file, path or file object |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
72 |
# |
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
73 |
# Custom comments are supported in parenthesis i.e. |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
74 |
# |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
75 |
# number (classfile major version) |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
76 |
# |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
77 |
# These comments are used internally in order to generate an enum-like class declaration containing |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
78 |
# a method/field for each of the diagnostic keys listed here. Those methods/fields can then be used |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
79 |
# by javac code to build diagnostics in a type-safe fashion. |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
80 |
# |
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
81 |
# In addition, these comments are verified by the jtreg test test/tools/javac/diags/MessageInfo, |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
82 |
# 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
|
83 |
# 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
|
84 |
# 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
|
85 |
|
10 | 86 |
## |
87 |
## errors |
|
88 |
## |
|
89 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
90 |
# 0: symbol |
10 | 91 |
compiler.err.abstract.cant.be.instantiated=\ |
92 |
{0} is abstract; cannot be instantiated |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
93 |
|
10 | 94 |
compiler.err.abstract.meth.cant.have.body=\ |
95 |
abstract methods cannot have a body |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
96 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
97 |
# 0: kind name, 1: symbol |
10 | 98 |
compiler.err.already.annotated=\ |
99 |
{0} {1} has already been annotated |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
100 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
101 |
# 0: kind name, 1: symbol, 2: kind name, 3: symbol |
10 | 102 |
compiler.err.already.defined=\ |
10626
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
103 |
{0} {1} is already defined in {2} {3} |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
104 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
105 |
# 0: kind name, 1: symbol, 2: kind name, 3: kind name, 4: symbol |
10626
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
106 |
compiler.err.already.defined.in.clinit=\ |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
107 |
{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
|
108 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
109 |
# 0: symbol |
10 | 110 |
compiler.err.already.defined.single.import=\ |
21009 | 111 |
a type with the same simple name is already defined by the single-type-import of {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
112 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
113 |
# 0: symbol |
10 | 114 |
compiler.err.already.defined.static.single.import=\ |
21009 | 115 |
a type with the same simple name is already defined by the static single-type-import of {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
116 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
117 |
# 0: symbol |
10 | 118 |
compiler.err.already.defined.this.unit=\ |
119 |
{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
|
120 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
121 |
# 0: type, 1: list of name |
10 | 122 |
compiler.err.annotation.missing.default.value=\ |
21009 | 123 |
annotation @{0} is missing a default value for the element ''{1}'' |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
124 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
125 |
# 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
|
126 |
compiler.err.annotation.missing.default.value.1=\ |
21009 | 127 |
annotation @{0} is missing default values for elements {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
128 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
129 |
# 0: type |
10 | 130 |
compiler.err.annotation.not.valid.for.type=\ |
21009 | 131 |
annotation not valid for an element of type {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
132 |
|
10 | 133 |
compiler.err.annotation.type.not.applicable=\ |
134 |
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
|
135 |
|
29959
61bfc66866da
8073534: Confusing / incorrect error message regarding annotations on non-declarations
alundblad
parents:
29776
diff
changeset
|
136 |
# 0: type |
61bfc66866da
8073534: Confusing / incorrect error message regarding annotations on non-declarations
alundblad
parents:
29776
diff
changeset
|
137 |
compiler.err.annotation.type.not.applicable.to.type=\ |
61bfc66866da
8073534: Confusing / incorrect error message regarding annotations on non-declarations
alundblad
parents:
29776
diff
changeset
|
138 |
annotation @{0} not applicable in this type context |
61bfc66866da
8073534: Confusing / incorrect error message regarding annotations on non-declarations
alundblad
parents:
29776
diff
changeset
|
139 |
|
10 | 140 |
compiler.err.annotation.value.must.be.annotation=\ |
141 |
annotation value must be an annotation |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
142 |
|
45753 | 143 |
compiler.err.annotation.value.must.be.class.literal=\ |
144 |
annotation value must be a class literal |
|
145 |
||
10 | 146 |
compiler.err.annotation.value.must.be.name.value=\ |
147 |
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
|
148 |
|
10 | 149 |
compiler.err.annotation.value.not.allowable.type=\ |
150 |
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
|
151 |
|
45500
365640343c55
8181464: Invalid lambda in annotation causes NPE in Lint.augment
vromero
parents:
45413
diff
changeset
|
152 |
compiler.err.expression.not.allowable.as.annotation.value=\ |
365640343c55
8181464: Invalid lambda in annotation causes NPE in Lint.augment
vromero
parents:
45413
diff
changeset
|
153 |
expression not allowed as annotation value |
365640343c55
8181464: Invalid lambda in annotation causes NPE in Lint.augment
vromero
parents:
45413
diff
changeset
|
154 |
|
10 | 155 |
compiler.err.anon.class.impl.intf.no.args=\ |
156 |
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
|
157 |
|
10 | 158 |
compiler.err.anon.class.impl.intf.no.typeargs=\ |
159 |
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
|
160 |
|
10 | 161 |
compiler.err.anon.class.impl.intf.no.qual.for.new=\ |
162 |
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
|
163 |
|
23809
9405883da95f
8023945: javac wrongly allows a subclass of an anonymous class
pgovereau
parents:
23800
diff
changeset
|
164 |
compiler.err.cant.inherit.from.anon=\ |
9405883da95f
8023945: javac wrongly allows a subclass of an anonymous class
pgovereau
parents:
23800
diff
changeset
|
165 |
cannot inherit from anonymous class |
9405883da95f
8023945: javac wrongly allows a subclass of an anonymous class
pgovereau
parents:
23800
diff
changeset
|
166 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
167 |
# 0: symbol, 1: symbol, 2: symbol |
10 | 168 |
compiler.err.array.and.varargs=\ |
169 |
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
|
170 |
|
10 | 171 |
compiler.err.array.dimension.missing=\ |
172 |
array dimension missing |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
173 |
|
45915
1afba647cd44
8057647: javac parser needs updates to have better error recovery for error cases of new array creation with dimensions
pmuthuswamy
parents:
45867
diff
changeset
|
174 |
compiler.err.illegal.array.creation.both.dimension.and.initialization=\ |
1afba647cd44
8057647: javac parser needs updates to have better error recovery for error cases of new array creation with dimensions
pmuthuswamy
parents:
45867
diff
changeset
|
175 |
array creation with both dimension expression and initialization is illegal |
1afba647cd44
8057647: javac parser needs updates to have better error recovery for error cases of new array creation with dimensions
pmuthuswamy
parents:
45867
diff
changeset
|
176 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
177 |
# 0: type |
10 | 178 |
compiler.err.array.req.but.found=\ |
179 |
array required, but {0} found |
|
180 |
||
181 |
compiler.err.attribute.value.must.be.constant=\ |
|
21009 | 182 |
element value must be a constant expression |
10 | 183 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
184 |
# 0: string (statement type) |
12715
139b8354de6a
7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
ksrini
parents:
12468
diff
changeset
|
185 |
compiler.err.bad.initializer=\ |
139b8354de6a
7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
ksrini
parents:
12468
diff
changeset
|
186 |
bad initializer for {0} |
139b8354de6a
7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
ksrini
parents:
12468
diff
changeset
|
187 |
|
10 | 188 |
compiler.err.break.outside.switch.loop=\ |
189 |
break outside switch or loop |
|
190 |
||
51563
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
191 |
compiler.err.break.missing.value=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
192 |
missing break value |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
193 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
194 |
compiler.err.break.outside.switch.expression=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
195 |
break outside of enclosing switch expression |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
196 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
197 |
compiler.err.continue.outside.switch.expression=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
198 |
continue outside of enclosing switch expression |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
199 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
200 |
compiler.err.return.outside.switch.expression=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
201 |
return outside of enclosing switch expression |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
202 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
203 |
# 0: name |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
204 |
compiler.err.break.ambiguous.target=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
205 |
ambiguous reference to ''{0}''\n\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
206 |
(''{0}'' is both a label and an expression) |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
207 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
208 |
# 0: tree tag |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
209 |
compiler.err.break.expr.not.immediate=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
210 |
value break not supported in ''{0}'' |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
211 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
212 |
compiler.err.break.complex.value.no.switch.expression=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
213 |
unexpected value break |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
214 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
215 |
compiler.err.switch.expression.empty=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
216 |
switch expression does not have any case clauses |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
217 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
218 |
# 0: name |
10 | 219 |
compiler.err.call.must.be.first.stmt.in.ctor=\ |
220 |
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
|
221 |
|
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
222 |
# 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 | 223 |
compiler.err.cant.apply.symbol=\ |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
224 |
{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
|
225 |
required: {2}\n\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
226 |
found: {3}\n\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
227 |
reason: {6} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
228 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
229 |
# 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
|
230 |
compiler.err.cant.apply.symbols=\ |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
231 |
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
|
232 |
|
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
233 |
# 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
|
234 |
compiler.misc.cant.apply.symbol=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
235 |
{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
|
236 |
required: {2}\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
237 |
found: {3}\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
238 |
reason: {6} |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
239 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
240 |
# 0: symbol kind, 1: name, 2: list of type |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
241 |
compiler.misc.cant.apply.symbols=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
242 |
no suitable {0} found for {1}({2}) |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
243 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
244 |
# 0: kind name, 1: symbol |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
245 |
compiler.misc.no.abstracts=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
246 |
no abstract method found in {0} {1} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
247 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
248 |
# 0: kind name, 1: symbol |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
249 |
compiler.misc.incompatible.abstracts=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
250 |
multiple non-overriding abstract methods found in {0} {1} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
251 |
|
15361
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
252 |
compiler.err.bad.functional.intf.anno=\ |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
253 |
Unexpected @FunctionalInterface annotation |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
254 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
255 |
# 0: message segment |
15361
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
256 |
compiler.err.bad.functional.intf.anno.1=\ |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
257 |
Unexpected @FunctionalInterface annotation\n\ |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
258 |
{0} |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
259 |
|
36272
950bd442a822
8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents:
36153
diff
changeset
|
260 |
# 0: message segment |
950bd442a822
8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents:
36153
diff
changeset
|
261 |
compiler.err.anonymous.diamond.method.does.not.override.superclass=\ |
950bd442a822
8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents:
36153
diff
changeset
|
262 |
method does not override or implement a method from a supertype\n\ |
950bd442a822
8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents:
36153
diff
changeset
|
263 |
{0} |
950bd442a822
8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents:
36153
diff
changeset
|
264 |
|
15361
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
265 |
# 0: symbol |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
266 |
compiler.misc.not.a.functional.intf=\ |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
267 |
{0} is not a functional interface |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
268 |
|
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
269 |
# 0: symbol, 1: message segment |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
270 |
compiler.misc.not.a.functional.intf.1=\ |
15361
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
271 |
{0} is not a functional interface\n\ |
01f1828683e6
8005299: Add FunctionalInterface checking to javac
mcimadamore
parents:
15356
diff
changeset
|
272 |
{1} |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
273 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
274 |
# 0: type, 1: kind name, 2: symbol |
14723
46aa71a5e4e0
8004102: Add support for generic functional descriptors
mcimadamore
parents:
14547
diff
changeset
|
275 |
compiler.misc.invalid.generic.lambda.target=\ |
46aa71a5e4e0
8004102: Add support for generic functional descriptors
mcimadamore
parents:
14547
diff
changeset
|
276 |
invalid functional descriptor for lambda expression\n\ |
46aa71a5e4e0
8004102: Add support for generic functional descriptors
mcimadamore
parents:
14547
diff
changeset
|
277 |
method {0} in {1} {2} is generic |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
278 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
279 |
# 0: kind name, 1: symbol |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
280 |
compiler.misc.incompatible.descs.in.functional.intf=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
281 |
incompatible function descriptors found in {0} {1} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
282 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
283 |
# 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
|
284 |
compiler.misc.descriptor=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
285 |
descriptor: {2} {0}({1}) |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
286 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
287 |
# 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
|
288 |
compiler.misc.descriptor.throws=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
289 |
descriptor: {2} {0}({1}) throws {3} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
290 |
|
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
291 |
# 0: type |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
292 |
compiler.misc.no.suitable.functional.intf.inst=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
293 |
cannot infer functional interface descriptor for {0} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
294 |
|
16809
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
295 |
# 0: message segment |
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
296 |
compiler.misc.bad.intersection.target.for.functional.expr=\ |
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
297 |
bad intersection type target for lambda or method reference\n\ |
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
298 |
{0} |
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
299 |
|
17578 | 300 |
# 0: symbol or type |
16809
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
301 |
compiler.misc.not.an.intf.component=\ |
5acfcb821d65
8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents:
16808
diff
changeset
|
302 |
component type {0} is not an interface |
14725
65836e833f59
8002099: Add support for intersection types in cast expression
mcimadamore
parents:
14724
diff
changeset
|
303 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
304 |
# 0: kind name, 1: message segment |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
305 |
compiler.err.invalid.mref=\ |
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
306 |
invalid {0} reference\n\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
307 |
{1} |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
308 |
|
50086
66b0f0134aad
8194998: broken error message for subclass of interface with private method
vromero
parents:
49872
diff
changeset
|
309 |
# 0: kind name, 1: message segment |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
310 |
compiler.misc.invalid.mref=\ |
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
311 |
invalid {0} reference\n\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
312 |
{1} |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
313 |
|
14724
b542db73539a
8004101: Add checks for method reference well-formedness
mcimadamore
parents:
14723
diff
changeset
|
314 |
compiler.misc.static.mref.with.targs=\ |
b542db73539a
8004101: Add checks for method reference well-formedness
mcimadamore
parents:
14723
diff
changeset
|
315 |
parameterized qualifier on static method reference |
b542db73539a
8004101: Add checks for method reference well-formedness
mcimadamore
parents:
14723
diff
changeset
|
316 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
317 |
# 0: symbol |
10 | 318 |
compiler.err.cant.assign.val.to.final.var=\ |
319 |
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
|
320 |
|
36713
592302b6161b
8027999: Poorly worded error message when attempting to assign to this
alundblad
parents:
36526
diff
changeset
|
321 |
compiler.err.cant.assign.val.to.this=\ |
592302b6161b
8027999: Poorly worded error message when attempting to assign to this
alundblad
parents:
36526
diff
changeset
|
322 |
cannot assign to ''this'' |
592302b6161b
8027999: Poorly worded error message when attempting to assign to this
alundblad
parents:
36526
diff
changeset
|
323 |
|
13439
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
324 |
# 0: symbol, 1: message segment |
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
325 |
compiler.err.cant.ref.non.effectively.final.var=\ |
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
326 |
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
|
327 |
|
27844
8b5d79870a2f
7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
27387
diff
changeset
|
328 |
compiler.err.try.with.resources.expr.needs.var=\ |
8b5d79870a2f
7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
27387
diff
changeset
|
329 |
the try-with-resources resource must either be a variable declaration or an expression denoting \ |
8b5d79870a2f
7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
27387
diff
changeset
|
330 |
a reference to a final or effectively final variable |
8b5d79870a2f
7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
27387
diff
changeset
|
331 |
|
8b5d79870a2f
7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
27387
diff
changeset
|
332 |
# 0: symbol |
8b5d79870a2f
7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
27387
diff
changeset
|
333 |
compiler.err.try.with.resources.expr.effectively.final.var=\ |
8b5d79870a2f
7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
27387
diff
changeset
|
334 |
variable {0} used as a try-with-resources resource neither final nor effectively final |
8b5d79870a2f
7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
27387
diff
changeset
|
335 |
|
13439
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
336 |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
337 |
compiler.misc.lambda=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
338 |
a lambda expression |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
339 |
|
13439
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
340 |
compiler.misc.inner.cls=\ |
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
341 |
an inner class |
3025d6ac1401
7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents:
13438
diff
changeset
|
342 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
343 |
# 0: type |
10 | 344 |
compiler.err.cant.deref=\ |
345 |
{0} cannot be dereferenced |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
346 |
|
10 | 347 |
compiler.err.cant.extend.intf.annotation=\ |
348 |
''extends'' not allowed for @interfaces |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
349 |
|
45867
ca77ebd05a06
8074364: Update error message for incorrect annotation type declaration
pmuthuswamy
parents:
45758
diff
changeset
|
350 |
compiler.err.annotation.decl.not.allowed.here=\ |
ca77ebd05a06
8074364: Update error message for incorrect annotation type declaration
pmuthuswamy
parents:
45758
diff
changeset
|
351 |
annotation type declaration not allowed here |
ca77ebd05a06
8074364: Update error message for incorrect annotation type declaration
pmuthuswamy
parents:
45758
diff
changeset
|
352 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
353 |
# 0: symbol |
10 | 354 |
compiler.err.cant.inherit.from.final=\ |
355 |
cannot inherit from final {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
356 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
357 |
# 0: symbol or string |
10 | 358 |
compiler.err.cant.ref.before.ctor.called=\ |
359 |
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
|
360 |
|
10 | 361 |
compiler.err.cant.select.static.class.from.param.type=\ |
362 |
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
|
363 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
364 |
# 0: symbol, 1: string, 2: string |
10 | 365 |
compiler.err.cant.inherit.diff.arg=\ |
366 |
{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
|
367 |
|
10 | 368 |
compiler.err.catch.without.try=\ |
369 |
''catch'' without ''try'' |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
370 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
371 |
# 0: kind name, 1: symbol |
10 | 372 |
compiler.err.clash.with.pkg.of.same.name=\ |
8045 | 373 |
{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
|
374 |
|
12466
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
375 |
compiler.err.class.not.allowed=\ |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
376 |
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
|
377 |
|
10 | 378 |
compiler.err.const.expr.req=\ |
379 |
constant expression required |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
380 |
|
10 | 381 |
compiler.err.cont.outside.loop=\ |
382 |
continue outside of loop |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
383 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
384 |
# 0: symbol or type |
10 | 385 |
compiler.err.cyclic.inheritance=\ |
386 |
cyclic inheritance involving {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
387 |
|
21009 | 388 |
# 0: symbol |
10 | 389 |
compiler.err.cyclic.annotation.element=\ |
21009 | 390 |
type of element {0} is cyclic |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
391 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
392 |
# 0: symbol |
10 | 393 |
compiler.err.call.to.super.not.allowed.in.enum.ctor=\ |
394 |
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
|
395 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
396 |
# 0: type |
10 | 397 |
compiler.err.no.superclass=\ |
21009 | 398 |
{0} has no superclass. |
10 | 399 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
400 |
# 0: symbol, 1: type, 2: symbol, 3: type, 4: type |
10 | 401 |
compiler.err.concrete.inheritance.conflict=\ |
402 |
methods {0} from {1} and {2} from {3} are inherited with the same signature |
|
403 |
||
404 |
compiler.err.default.allowed.in.intf.annotation.member=\ |
|
21009 | 405 |
default value only allowed in an annotation type declaration |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
406 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
407 |
# 0: symbol |
10 | 408 |
compiler.err.doesnt.exist=\ |
409 |
package {0} does not exist |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
410 |
|
14804
f93a8d60b9a4
8001114: Container annotation is not checked for semantic correctness
jfranck
parents:
14725
diff
changeset
|
411 |
# 0: type |
f93a8d60b9a4
8001114: Container annotation is not checked for semantic correctness
jfranck
parents:
14725
diff
changeset
|
412 |
compiler.err.duplicate.annotation.invalid.repeated=\ |
21009 | 413 |
annotation {0} is not a valid repeatable annotation |
14804
f93a8d60b9a4
8001114: Container annotation is not checked for semantic correctness
jfranck
parents:
14725
diff
changeset
|
414 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
415 |
# 0: name, 1: type |
10 | 416 |
compiler.err.duplicate.annotation.member.value=\ |
21009 | 417 |
duplicate element ''{0}'' in annotation @{1}. |
418 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
419 |
# 0: type |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
420 |
compiler.err.duplicate.annotation.missing.container=\ |
21009 | 421 |
{0} is not a repeatable annotation type |
422 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
423 |
# 0: symbol |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
424 |
compiler.err.invalid.repeatable.annotation=\ |
21009 | 425 |
duplicate annotation: {0} is annotated with an invalid @Repeatable annotation |
17578 | 426 |
|
427 |
# 0: symbol or type |
|
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
428 |
compiler.err.invalid.repeatable.annotation.no.value=\ |
21009 | 429 |
{0} is not a valid @Repeatable, no value element method declared |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
430 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
431 |
# 0: type, 1: number |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
432 |
compiler.err.invalid.repeatable.annotation.multiple.values=\ |
21009 | 433 |
{0} is not a valid @Repeatable, {1} element methods named ''value'' declared |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
434 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
435 |
# 0: type |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
436 |
compiler.err.invalid.repeatable.annotation.invalid.value=\ |
21009 | 437 |
{0} is not a valid @Repeatable: invalid value element |
438 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
439 |
# 0: symbol or type, 1: type, 2: type |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
440 |
compiler.err.invalid.repeatable.annotation.value.return=\ |
21009 | 441 |
containing annotation type ({0}) must declare an element named ''value'' of type {2} |
17578 | 442 |
|
443 |
# 0: symbol or type, 1: symbol |
|
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
444 |
compiler.err.invalid.repeatable.annotation.elem.nondefault=\ |
21009 | 445 |
containing annotation type ({0}) does not have a default value for element {1} |
446 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
447 |
# 0: symbol, 1: string, 2: symbol, 3: string |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
448 |
compiler.err.invalid.repeatable.annotation.retention=\ |
21009 | 449 |
retention of containing annotation type ({0}) is shorter than the retention of repeatable annotation type ({2}) |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
450 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
451 |
# 0: symbol, 1: symbol |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
452 |
compiler.err.invalid.repeatable.annotation.not.documented=\ |
21009 | 453 |
repeatable annotation type ({1}) is @Documented while containing annotation type ({0}) is not |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
454 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
455 |
# 0: symbol, 1: symbol |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
456 |
compiler.err.invalid.repeatable.annotation.not.inherited=\ |
21009 | 457 |
repeatable annotation type ({1}) is @Inherited while containing annotation type ({0}) is not |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
458 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
459 |
# 0: symbol, 1: symbol |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
460 |
compiler.err.invalid.repeatable.annotation.incompatible.target=\ |
21009 | 461 |
containing annotation type ({0}) is applicable to more targets than repeatable annotation type ({1}) |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
462 |
|
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
463 |
# 0: symbol |
15356
cf312dc54c60
8006119: update javac to follow latest spec for repeatable annotations
jjg
parents:
14952
diff
changeset
|
464 |
compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\ |
13689
4d519199a6aa
7151010: Add compiler support for repeating annotations
jfranck
parents:
13439
diff
changeset
|
465 |
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
|
466 |
|
29960
d20c04ed8ffe
8043984: Confusing (incorrect) error message on repeatable annotations
alundblad
parents:
29959
diff
changeset
|
467 |
# 0: type, 1: symbol |
d20c04ed8ffe
8043984: Confusing (incorrect) error message on repeatable annotations
alundblad
parents:
29959
diff
changeset
|
468 |
compiler.err.invalid.repeatable.annotation.not.applicable=\ |
d20c04ed8ffe
8043984: Confusing (incorrect) error message on repeatable annotations
alundblad
parents:
29959
diff
changeset
|
469 |
container {0} is not applicable to element {1} |
d20c04ed8ffe
8043984: Confusing (incorrect) error message on repeatable annotations
alundblad
parents:
29959
diff
changeset
|
470 |
|
30069
5686d5e44a83
8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
alundblad
parents:
30014
diff
changeset
|
471 |
# 0: type |
5686d5e44a83
8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
alundblad
parents:
30014
diff
changeset
|
472 |
compiler.err.invalid.repeatable.annotation.not.applicable.in.context=\ |
5686d5e44a83
8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
alundblad
parents:
30014
diff
changeset
|
473 |
container {0} is not applicable in this type context |
5686d5e44a83
8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
alundblad
parents:
30014
diff
changeset
|
474 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
475 |
# 0: name |
10 | 476 |
compiler.err.duplicate.class=\ |
477 |
duplicate class: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
478 |
|
48367
3a52333a5e57
8187487: crash with classes with same binary name
vromero
parents:
48352
diff
changeset
|
479 |
# 0: name, 1: name |
3a52333a5e57
8187487: crash with classes with same binary name
vromero
parents:
48352
diff
changeset
|
480 |
compiler.err.same.binary.name=\ |
3a52333a5e57
8187487: crash with classes with same binary name
vromero
parents:
48352
diff
changeset
|
481 |
classes: {0} and {1} have the same binary name |
3a52333a5e57
8187487: crash with classes with same binary name
vromero
parents:
48352
diff
changeset
|
482 |
|
10 | 483 |
compiler.err.duplicate.case.label=\ |
484 |
duplicate case label |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
485 |
|
10 | 486 |
compiler.err.duplicate.default.label=\ |
487 |
duplicate default label |
|
488 |
||
489 |
compiler.err.else.without.if=\ |
|
490 |
''else'' without ''if'' |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
491 |
|
10 | 492 |
compiler.err.empty.char.lit=\ |
493 |
empty character literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
494 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
495 |
# 0: symbol |
10 | 496 |
compiler.err.encl.class.required=\ |
497 |
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
|
498 |
|
10 | 499 |
compiler.err.enum.annotation.must.be.enum.constant=\ |
500 |
an enum annotation value must be an enum constant |
|
501 |
||
502 |
compiler.err.enum.cant.be.instantiated=\ |
|
503 |
enum types may not be instantiated |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
504 |
|
10 | 505 |
compiler.err.enum.label.must.be.unqualified.enum=\ |
506 |
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
|
507 |
|
10 | 508 |
compiler.err.enum.no.subclassing=\ |
509 |
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
|
510 |
|
10 | 511 |
compiler.err.enum.types.not.extensible=\ |
512 |
enum types are not extensible |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
513 |
|
10 | 514 |
compiler.err.enum.no.finalize=\ |
515 |
enums cannot have finalize methods |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
516 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
517 |
# 0: file name, 1: string |
10 | 518 |
compiler.err.error.reading.file=\ |
519 |
error reading {0}; {1} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
520 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
521 |
# 0: type |
10 | 522 |
compiler.err.except.already.caught=\ |
523 |
exception {0} has already been caught |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
524 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
525 |
# 0: type |
10 | 526 |
compiler.err.except.never.thrown.in.try=\ |
527 |
exception {0} is never thrown in body of corresponding try statement |
|
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.final.parameter.may.not.be.assigned=\ |
531 |
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
|
532 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
533 |
# 0: symbol |
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
534 |
compiler.err.try.resource.may.not.be.assigned=\ |
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
535 |
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
|
536 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
537 |
# 0: symbol |
5492
515e4b33b335
6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents:
5321
diff
changeset
|
538 |
compiler.err.multicatch.parameter.may.not.be.assigned=\ |
515e4b33b335
6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents:
5321
diff
changeset
|
539 |
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
|
540 |
|
9074
76b505d19026
7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents:
8849
diff
changeset
|
541 |
# 0: type, 1: type |
76b505d19026
7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents:
8849
diff
changeset
|
542 |
compiler.err.multicatch.types.must.be.disjoint=\ |
76b505d19026
7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents:
8849
diff
changeset
|
543 |
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
|
544 |
Alternative {0} is a subclass of alternative {1} |
76b505d19026
7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents:
8849
diff
changeset
|
545 |
|
10 | 546 |
compiler.err.finally.without.try=\ |
547 |
''finally'' without ''try'' |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
548 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
549 |
# 0: type, 1: message segment |
10 | 550 |
compiler.err.foreach.not.applicable.to.type=\ |
8045 | 551 |
for-each not applicable to expression type\n\ |
552 |
required: {1}\n\ |
|
553 |
found: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
554 |
|
10 | 555 |
compiler.err.fp.number.too.large=\ |
556 |
floating point number too large |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
557 |
|
10 | 558 |
compiler.err.fp.number.too.small=\ |
559 |
floating point number too small |
|
560 |
||
561 |
compiler.err.generic.array.creation=\ |
|
562 |
generic array creation |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
563 |
|
10 | 564 |
compiler.err.generic.throwable=\ |
565 |
a generic class may not extend java.lang.Throwable |
|
566 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
567 |
# 0: symbol |
10 | 568 |
compiler.err.icls.cant.have.static.decl=\ |
8046
376310825f60
6510286: Wording of javac error for inner classes
mcimadamore
parents:
8045
diff
changeset
|
569 |
Illegal static declaration in inner class {0}\n\ |
376310825f60
6510286: Wording of javac error for inner classes
mcimadamore
parents:
8045
diff
changeset
|
570 |
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
|
571 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
572 |
# 0: string |
10 | 573 |
compiler.err.illegal.char=\ |
14370
eefd0e6642a8
8000483: cryptic error message when source file contains hash
vromero
parents:
14369
diff
changeset
|
574 |
illegal character: ''{0}'' |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
575 |
|
38511
d934635453ad
8078559: Update error message to indicate illegal character when encoding set to ascii
jlahoda
parents:
38508
diff
changeset
|
576 |
# 0: string, 1: string |
10 | 577 |
compiler.err.illegal.char.for.encoding=\ |
38511
d934635453ad
8078559: Update error message to indicate illegal character when encoding set to ascii
jlahoda
parents:
38508
diff
changeset
|
578 |
unmappable character (0x{0}) for encoding {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
579 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
580 |
# 0: set of flag, 1: set of flag |
10 | 581 |
compiler.err.illegal.combination.of.modifiers=\ |
582 |
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
|
583 |
|
10 | 584 |
compiler.err.illegal.enum.static.ref=\ |
585 |
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
|
586 |
|
10 | 587 |
compiler.err.illegal.esc.char=\ |
588 |
illegal escape character |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
589 |
|
10 | 590 |
compiler.err.illegal.forward.ref=\ |
591 |
illegal forward reference |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
592 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
593 |
# 0: symbol, 1: object |
15724 | 594 |
compiler.err.not.in.profile=\ |
595 |
{0} is not available in profile ''{1}'' |
|
596 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
597 |
# 0: symbol |
10 | 598 |
compiler.warn.forward.ref=\ |
599 |
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
|
600 |
|
1045
56f6e84f7825
6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents:
939
diff
changeset
|
601 |
compiler.err.illegal.self.ref=\ |
56f6e84f7825
6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents:
939
diff
changeset
|
602 |
self-reference in initializer |
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 |
1045
56f6e84f7825
6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents:
939
diff
changeset
|
605 |
compiler.warn.self.ref=\ |
56f6e84f7825
6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents:
939
diff
changeset
|
606 |
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
|
607 |
|
10 | 608 |
compiler.err.illegal.generic.type.for.instof=\ |
609 |
illegal generic type for instanceof |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
610 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
611 |
# 0: type |
10 | 612 |
compiler.err.illegal.initializer.for.type=\ |
613 |
illegal initializer for {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
614 |
|
10 | 615 |
compiler.err.illegal.line.end.in.char.lit=\ |
616 |
illegal line end in character literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
617 |
|
10 | 618 |
compiler.err.illegal.nonascii.digit=\ |
619 |
illegal non-ASCII digit |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
620 |
|
3895 | 621 |
compiler.err.illegal.underscore=\ |
622 |
illegal underscore |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
623 |
|
11383 | 624 |
compiler.err.illegal.dot=\ |
625 |
illegal ''.'' |
|
626 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
627 |
# 0: symbol |
10 | 628 |
compiler.err.illegal.qual.not.icls=\ |
629 |
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
|
630 |
|
10 | 631 |
compiler.err.illegal.start.of.expr=\ |
632 |
illegal start of expression |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
633 |
|
12466
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
634 |
compiler.err.illegal.start.of.stmt=\ |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
635 |
illegal start of statement |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
636 |
|
10 | 637 |
compiler.err.illegal.start.of.type=\ |
638 |
illegal start of type |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
639 |
|
45750
15404afd36ab
8058408: Compiler should emit a clearer message for invalid parenthesized expression
sadayapalam
parents:
45744
diff
changeset
|
640 |
compiler.err.illegal.parenthesized.expression=\ |
15404afd36ab
8058408: Compiler should emit a clearer message for invalid parenthesized expression
sadayapalam
parents:
45744
diff
changeset
|
641 |
illegal parenthesized expression |
15404afd36ab
8058408: Compiler should emit a clearer message for invalid parenthesized expression
sadayapalam
parents:
45744
diff
changeset
|
642 |
|
10 | 643 |
compiler.err.illegal.unicode.esc=\ |
644 |
illegal unicode escape |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
645 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
646 |
# 0: symbol |
10 | 647 |
compiler.err.import.requires.canonical=\ |
648 |
import requires canonical name for {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
649 |
|
10 | 650 |
compiler.err.improperly.formed.type.param.missing=\ |
651 |
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
|
652 |
|
10 | 653 |
compiler.err.improperly.formed.type.inner.raw.param=\ |
8045 | 654 |
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
|
655 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
656 |
# 0: type, 1: type |
10 | 657 |
compiler.err.incomparable.types=\ |
658 |
incomparable types: {0} and {1} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
659 |
|
48721
ef3557eb4306
8196403: remove the remaining use of string keys for errors and warnings in the compiler
vromero
parents:
48608
diff
changeset
|
660 |
# 0: string |
10 | 661 |
compiler.err.int.number.too.large=\ |
48721
ef3557eb4306
8196403: remove the remaining use of string keys for errors and warnings in the compiler
vromero
parents:
48608
diff
changeset
|
662 |
integer number too large |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
663 |
|
10 | 664 |
compiler.err.intf.annotation.members.cant.have.params=\ |
21009 | 665 |
elements in annotation type declarations cannot declare formal parameters |
666 |
||
667 |
# 0: symbol |
|
10 | 668 |
compiler.err.intf.annotation.cant.have.type.params=\ |
21009 | 669 |
annotation type {0} cannot be generic |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
670 |
|
10 | 671 |
compiler.err.intf.annotation.members.cant.have.type.params=\ |
21009 | 672 |
elements in annotation type declarations cannot be generic methods |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
673 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
674 |
# 0: symbol, 1: type |
10 | 675 |
compiler.err.intf.annotation.member.clash=\ |
21009 | 676 |
annotation type {1} declares an element with the same name as method {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
677 |
|
10 | 678 |
compiler.err.intf.expected.here=\ |
679 |
interface expected here |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
680 |
|
10 | 681 |
compiler.err.intf.meth.cant.have.body=\ |
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
682 |
interface abstract methods cannot have body |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
683 |
|
10 | 684 |
compiler.err.invalid.annotation.member.type=\ |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
685 |
invalid type for annotation type element |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
686 |
|
4072
70eaf9773f81
6891079: Compiler allows invalid binary literals 0b and oBL
jjg
parents:
3895
diff
changeset
|
687 |
compiler.err.invalid.binary.number=\ |
70eaf9773f81
6891079: Compiler allows invalid binary literals 0b and oBL
jjg
parents:
3895
diff
changeset
|
688 |
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
|
689 |
|
10 | 690 |
compiler.err.invalid.hex.number=\ |
691 |
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
|
692 |
|
10 | 693 |
compiler.err.invalid.meth.decl.ret.type.req=\ |
694 |
invalid method declaration; return type required |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
695 |
|
8047
c7f08cdb5c3c
6569633: Varargs: parser error when varargs element type is an array
mcimadamore
parents:
8046
diff
changeset
|
696 |
compiler.err.varargs.and.old.array.syntax=\ |
c7f08cdb5c3c
6569633: Varargs: parser error when varargs element type is an array
mcimadamore
parents:
8046
diff
changeset
|
697 |
legacy array notation not allowed on variable-arity parameter |
10 | 698 |
|
17578 | 699 |
compiler.err.varargs.and.receiver =\ |
700 |
varargs notation not allowed on receiver parameter |
|
701 |
||
22701
67811024e8b4
8030091: Request to update error messages from javac for negative varargs test cases
jlahoda
parents:
21712
diff
changeset
|
702 |
compiler.err.varargs.must.be.last =\ |
67811024e8b4
8030091: Request to update error messages from javac for negative varargs test cases
jlahoda
parents:
21712
diff
changeset
|
703 |
varargs parameter must be the last parameter |
67811024e8b4
8030091: Request to update error messages from javac for negative varargs test cases
jlahoda
parents:
21712
diff
changeset
|
704 |
|
17578 | 705 |
compiler.err.array.and.receiver =\ |
706 |
legacy array notation not allowed on receiver parameter |
|
707 |
||
50568
0f807f558017
8203813: javac accepts an illegal name as a receiver parameter name
bsrbnd
parents:
50250
diff
changeset
|
708 |
compiler.err.wrong.receiver =\ |
0f807f558017
8203813: javac accepts an illegal name as a receiver parameter name
bsrbnd
parents:
50250
diff
changeset
|
709 |
wrong receiver parameter name |
0f807f558017
8203813: javac accepts an illegal name as a receiver parameter name
bsrbnd
parents:
50250
diff
changeset
|
710 |
|
12466
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
711 |
compiler.err.variable.not.allowed=\ |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
712 |
variable declaration not allowed here |
08863ee323df
7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents:
12336
diff
changeset
|
713 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
714 |
# 0: name |
10 | 715 |
compiler.err.label.already.in.use=\ |
716 |
label {0} already in use |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
717 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
718 |
# 0: symbol |
10 | 719 |
compiler.err.local.var.accessed.from.icls.needs.final=\ |
720 |
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
|
721 |
|
10 | 722 |
compiler.err.local.enum=\ |
723 |
enum types must not be local |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
724 |
|
10 | 725 |
compiler.err.cannot.create.array.with.type.arguments=\ |
726 |
cannot create array with type arguments |
|
727 |
||
10199
48bd09ecc88a
7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents:
10186
diff
changeset
|
728 |
compiler.err.cannot.create.array.with.diamond=\ |
48bd09ecc88a
7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents:
10186
diff
changeset
|
729 |
cannot create array with ''<>'' |
48bd09ecc88a
7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents:
10186
diff
changeset
|
730 |
|
40501
8455b59aa04a
8157519: Error messages when compiling a malformed module-info.java confusing
sadayapalam
parents:
40313
diff
changeset
|
731 |
compiler.err.invalid.module.directive=\ |
8455b59aa04a
8157519: Error messages when compiling a malformed module-info.java confusing
sadayapalam
parents:
40313
diff
changeset
|
732 |
module directive keyword or ''}'' expected |
8455b59aa04a
8157519: Error messages when compiling a malformed module-info.java confusing
sadayapalam
parents:
40313
diff
changeset
|
733 |
|
10 | 734 |
# |
735 |
# limits. We don't give the limits in the diagnostic because we expect |
|
736 |
# them to change, yet we want to use the same diagnostic. These are all |
|
737 |
# detected during code generation. |
|
738 |
# |
|
739 |
compiler.err.limit.code=\ |
|
740 |
code too large |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
741 |
|
10 | 742 |
compiler.err.limit.code.too.large.for.try.stmt=\ |
743 |
code too large for try statement |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
744 |
|
10 | 745 |
compiler.err.limit.dimensions=\ |
746 |
array type has too many dimensions |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
747 |
|
10 | 748 |
compiler.err.limit.locals=\ |
749 |
too many local variables |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
750 |
|
10 | 751 |
compiler.err.limit.parameters=\ |
752 |
too many parameters |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
753 |
|
10 | 754 |
compiler.err.limit.pool=\ |
755 |
too many constants |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
756 |
|
10 | 757 |
compiler.err.limit.pool.in.class=\ |
758 |
too many constants in class {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
759 |
|
10 | 760 |
compiler.err.limit.stack=\ |
761 |
code requires too much stack |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
762 |
|
10 | 763 |
compiler.err.limit.string=\ |
764 |
constant string too long |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
765 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
766 |
# 0: string |
10 | 767 |
compiler.err.limit.string.overflow=\ |
768 |
UTF8 representation for string \"{0}...\" is too long for the constant pool |
|
769 |
||
770 |
compiler.err.malformed.fp.lit=\ |
|
771 |
malformed floating point literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
772 |
|
10 | 773 |
compiler.err.method.does.not.override.superclass=\ |
774 |
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
|
775 |
|
45758
b2a0122861f5
8068836: Error message should be updated when Override is used with static methods
sadayapalam
parents:
45756
diff
changeset
|
776 |
compiler.err.static.methods.cannot.be.annotated.with.override=\ |
b2a0122861f5
8068836: Error message should be updated when Override is used with static methods
sadayapalam
parents:
45756
diff
changeset
|
777 |
static methods cannot be annotated with @Override |
b2a0122861f5
8068836: Error message should be updated when Override is used with static methods
sadayapalam
parents:
45756
diff
changeset
|
778 |
|
10 | 779 |
compiler.err.missing.meth.body.or.decl.abstract=\ |
780 |
missing method body, or declare abstract |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
781 |
|
10 | 782 |
compiler.err.missing.ret.stmt=\ |
783 |
missing return statement |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
784 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
785 |
# 0: type |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
786 |
compiler.misc.missing.ret.val=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
787 |
missing return value |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
788 |
|
14547 | 789 |
compiler.misc.unexpected.ret.val=\ |
790 |
unexpected return value |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
791 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
792 |
# 0: set of flag |
10 | 793 |
compiler.err.mod.not.allowed.here=\ |
794 |
modifier {0} not allowed here |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
795 |
|
48427
b08405cc467a
8193125: javac should not compile a module if it requires java.base with modifiers
jjg
parents:
48054
diff
changeset
|
796 |
# 0: name |
b08405cc467a
8193125: javac should not compile a module if it requires java.base with modifiers
jjg
parents:
48054
diff
changeset
|
797 |
compiler.err.modifier.not.allowed.here=\ |
b08405cc467a
8193125: javac should not compile a module if it requires java.base with modifiers
jjg
parents:
48054
diff
changeset
|
798 |
modifier {0} not allowed here |
b08405cc467a
8193125: javac should not compile a module if it requires java.base with modifiers
jjg
parents:
48054
diff
changeset
|
799 |
|
10 | 800 |
compiler.err.intf.not.allowed.here=\ |
801 |
interface not allowed here |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
802 |
|
10 | 803 |
compiler.err.enums.must.be.static=\ |
804 |
enum declarations allowed only in static contexts |
|
805 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
806 |
# 0: symbol, 1: symbol |
10 | 807 |
compiler.err.name.clash.same.erasure=\ |
808 |
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
|
809 |
|
45413
75202c6b2c35
7170058: Confusing error message from javac when overriding a method from a raw supertype
vromero
parents:
45156
diff
changeset
|
810 |
# 0: name, 1: list of type, 2: symbol, 3: name, 4: list of type, 5: symbol |
10 | 811 |
compiler.err.name.clash.same.erasure.no.override=\ |
45413
75202c6b2c35
7170058: Confusing error message from javac when overriding a method from a raw supertype
vromero
parents:
45156
diff
changeset
|
812 |
name clash: {0}({1}) in {2} and {3}({4}) in {5} have the same erasure, yet neither overrides the other |
75202c6b2c35
7170058: Confusing error message from javac when overriding a method from a raw supertype
vromero
parents:
45156
diff
changeset
|
813 |
|
75202c6b2c35
7170058: Confusing error message from javac when overriding a method from a raw supertype
vromero
parents:
45156
diff
changeset
|
814 |
# 0: string, 1: name, 2: name, 3: list of type, 4: symbol, 5: name, 6: list of type, 7: symbol |
8242
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
815 |
compiler.err.name.clash.same.erasure.no.override.1=\ |
45413
75202c6b2c35
7170058: Confusing error message from javac when overriding a method from a raw supertype
vromero
parents:
45156
diff
changeset
|
816 |
name clash: {0} {1} has two methods with the same erasure, yet neither overrides the other\n\ |
75202c6b2c35
7170058: Confusing error message from javac when overriding a method from a raw supertype
vromero
parents:
45156
diff
changeset
|
817 |
first method: {2}({3}) in {4}\n\ |
75202c6b2c35
7170058: Confusing error message from javac when overriding a method from a raw supertype
vromero
parents:
45156
diff
changeset
|
818 |
second method: {5}({6}) in {7} |
8242
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
819 |
|
3873b4aaf4a8
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents:
8234
diff
changeset
|
820 |
# 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
|
821 |
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
|
822 |
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
|
823 |
|
10 | 824 |
compiler.err.name.reserved.for.internal.use=\ |
825 |
{0} is reserved for internal use |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
826 |
|
10 | 827 |
compiler.err.native.meth.cant.have.body=\ |
828 |
native methods cannot have a body |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
829 |
|
25445
603f0c93d5c9
8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents:
25283
diff
changeset
|
830 |
|
14057
b4b0377b8dba
7177387: Add target-typing support in method context
mcimadamore
parents:
14054
diff
changeset
|
831 |
# 0: message segment |
b4b0377b8dba
7177387: Add target-typing support in method context
mcimadamore
parents:
14054
diff
changeset
|
832 |
compiler.misc.incompatible.type.in.conditional=\ |
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
833 |
bad type in conditional expression\n\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
834 |
{0} |
14057
b4b0377b8dba
7177387: Add target-typing support in method context
mcimadamore
parents:
14054
diff
changeset
|
835 |
|
14547 | 836 |
compiler.misc.conditional.target.cant.be.void=\ |
837 |
target-type for conditional expression cannot be void |
|
838 |
||
51563
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
839 |
compiler.misc.switch.expression.target.cant.be.void=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
840 |
target-type for switch expression cannot be void |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
841 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
842 |
# 0: message segment |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
843 |
compiler.misc.incompatible.type.in.switch.expression=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
844 |
bad type in switch expression\n\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
845 |
{0} |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
846 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
847 |
# 0: message segment |
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
848 |
compiler.misc.incompatible.ret.type.in.lambda=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
849 |
bad return type in lambda expression\n\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
850 |
{0} |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
851 |
|
38508
03c87ceca5fd
8153884: Expression lambda erroneously compatible with void-returning descriptor
mcimadamore
parents:
37854
diff
changeset
|
852 |
compiler.misc.stat.expr.expected=\ |
03c87ceca5fd
8153884: Expression lambda erroneously compatible with void-returning descriptor
mcimadamore
parents:
37854
diff
changeset
|
853 |
lambda body is not compatible with a void functional interface\n\ |
03c87ceca5fd
8153884: Expression lambda erroneously compatible with void-returning descriptor
mcimadamore
parents:
37854
diff
changeset
|
854 |
(consider using a block lambda body, or use a statement expression instead) |
03c87ceca5fd
8153884: Expression lambda erroneously compatible with void-returning descriptor
mcimadamore
parents:
37854
diff
changeset
|
855 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
856 |
# 0: message segment |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
857 |
compiler.misc.incompatible.ret.type.in.mref=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
858 |
bad return type in method reference\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
859 |
{0} |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
860 |
|
24066
1dfb66929538
8029718: Should always use lambda body structure to disambiguate overload resolution
vromero
parents:
23809
diff
changeset
|
861 |
compiler.err.lambda.body.neither.value.nor.void.compatible=\ |
1dfb66929538
8029718: Should always use lambda body structure to disambiguate overload resolution
vromero
parents:
23809
diff
changeset
|
862 |
lambda body is neither value nor void compatible |
1dfb66929538
8029718: Should always use lambda body structure to disambiguate overload resolution
vromero
parents:
23809
diff
changeset
|
863 |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
864 |
# 0: list of type |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
865 |
compiler.err.incompatible.thrown.types.in.mref=\ |
45756
67f4f8f4d34a
8182047: javac compile error on type-parameter-exceptions in lambda expressions
vromero
parents:
45753
diff
changeset
|
866 |
incompatible thrown types {0} in functional expression |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
867 |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
868 |
compiler.misc.incompatible.arg.types.in.lambda=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
869 |
incompatible parameter types in lambda expression |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
870 |
|
16294
0c291a3cd60d
8007462: Fix provisional applicability for method references
mcimadamore
parents:
15385
diff
changeset
|
871 |
compiler.misc.incompatible.arg.types.in.mref=\ |
0c291a3cd60d
8007462: Fix provisional applicability for method references
mcimadamore
parents:
15385
diff
changeset
|
872 |
incompatible parameter types in method reference |
0c291a3cd60d
8007462: Fix provisional applicability for method references
mcimadamore
parents:
15385
diff
changeset
|
873 |
|
10 | 874 |
compiler.err.new.not.allowed.in.annotation=\ |
875 |
''new'' not allowed in an annotation |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
876 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
877 |
# 0: name, 1: type |
10 | 878 |
compiler.err.no.annotation.member=\ |
879 |
no annotation member {0} in {1} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
880 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
881 |
# 0: symbol |
10 | 882 |
compiler.err.no.encl.instance.of.type.in.scope=\ |
883 |
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
|
884 |
|
10 | 885 |
compiler.err.no.intf.expected.here=\ |
886 |
no interface expected here |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
887 |
|
10 | 888 |
compiler.err.no.match.entry=\ |
889 |
{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
|
890 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
891 |
# 0: type |
10 | 892 |
compiler.err.not.annotation.type=\ |
893 |
{0} is not an annotation type |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
894 |
|
43138
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
895 |
# 0: symbol, 1: symbol, 2: message segment |
36526 | 896 |
compiler.err.not.def.access.package.cant.access=\ |
43138
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
897 |
{0} is not visible\n\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
898 |
({2}) |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
899 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
900 |
# 0: symbol, 1: symbol, 2: message segment |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
901 |
compiler.misc.not.def.access.package.cant.access=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
902 |
{0} is not visible\n\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
903 |
({2}) |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
904 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
905 |
# 0: symbol, 1: message segment |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
906 |
compiler.err.package.not.visible=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
907 |
package {0} is not visible\n\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
908 |
({1}) |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
909 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
910 |
# 0: symbol, 1: message segment |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
911 |
compiler.misc.package.not.visible=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
912 |
package {0} is not visible\n\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
913 |
({1}) |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
914 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
915 |
# {0} - current module |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
916 |
# {1} - package in which the invisible class is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
917 |
# {2} - module in which {1} is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
918 |
# 0: symbol, 1: symbol, 2: symbol |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
919 |
compiler.misc.not.def.access.does.not.read=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
920 |
package {1} is declared in module {2}, but module {0} does not read it |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
921 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
922 |
# {0} - package in which the invisible class is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
923 |
# {1} - module in which {0} is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
924 |
# 0: symbol, 1: symbol |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
925 |
compiler.misc.not.def.access.does.not.read.from.unnamed=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
926 |
package {0} is declared in module {1}, which is not in the module graph |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
927 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
928 |
# {0} - package in which the invisible class is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
929 |
# {1} - current module |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
930 |
# 0: symbol, 1: symbol |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
931 |
compiler.misc.not.def.access.does.not.read.unnamed=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
932 |
package {0} is declared in the unnamed module, but module {0} does not read it |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
933 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
934 |
# {0} - package in which the invisible class is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
935 |
# {1} - module in which {0} is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
936 |
# 0: symbol, 1: symbol |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
937 |
compiler.misc.not.def.access.not.exported=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
938 |
package {0} is declared in module {1}, which does not export it |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
939 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
940 |
# {0} - package in which the invisible class is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
941 |
# {1} - module in which {0} is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
942 |
# 0: symbol, 1: symbol |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
943 |
compiler.misc.not.def.access.not.exported.from.unnamed=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
944 |
package {0} is declared in module {1}, which does not export it |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
945 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
946 |
# {0} - package in which the invisible class is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
947 |
# {1} - module in which {0} is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
948 |
# {2} - current module |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
949 |
# 0: symbol, 1: symbol, 2: symbol |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
950 |
compiler.misc.not.def.access.not.exported.to.module=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
951 |
package {0} is declared in module {1}, which does not export it to module {2} |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
952 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
953 |
# {0} - package in which the invisible class is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
954 |
# {1} - module in which {0} is declared |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
955 |
# 0: symbol, 1: symbol |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
956 |
compiler.misc.not.def.access.not.exported.to.module.from.unnamed=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
957 |
package {0} is declared in module {1}, which does not export it to the unnamed module |
36526 | 958 |
|
959 |
# 0: symbol, 1: symbol |
|
10 | 960 |
compiler.err.not.def.access.class.intf.cant.access=\ |
43138
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
961 |
{1}.{0} 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
|
962 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
963 |
# 0: symbol, 1: symbol |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
964 |
compiler.misc.not.def.access.class.intf.cant.access=\ |
43138
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
965 |
{1}.{0} is defined in an inaccessible class or interface |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
966 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
967 |
# 0: symbol, 1: symbol, 2: symbol, 3: message segment |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
968 |
compiler.err.not.def.access.class.intf.cant.access.reason=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
969 |
{1}.{0} in package {2} is not accessible\n\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
970 |
({3}) |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
971 |
|
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
972 |
# 0: symbol, 1: symbol, 2: symbol, 3: message segment |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
973 |
compiler.misc.not.def.access.class.intf.cant.access.reason=\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
974 |
{1}.{0} in package {2} is not accessible\n\ |
680d378b9d64
8169197: Improve error reporting for compiling against unexported package
jlahoda
parents:
43027
diff
changeset
|
975 |
({3}) |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
976 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
977 |
# 0: symbol, 1: list of type, 2: type |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
978 |
compiler.misc.cant.access.inner.cls.constr=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
979 |
cannot access constructor {0}({1})\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
980 |
an enclosing instance of type {2} is not in scope |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
981 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
982 |
# 0: symbol, 1: symbol |
10 | 983 |
compiler.err.not.def.public.cant.access=\ |
984 |
{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
|
985 |
|
16328
8b9eb42167f6
8009129: Illegal access error when calling method reference
mcimadamore
parents:
16323
diff
changeset
|
986 |
# 0: symbol, 1: symbol |
43865
532c50fea155
8174243: incorrect error message for nested service provider
vromero
parents:
43772
diff
changeset
|
987 |
compiler.err.not.def.public=\ |
532c50fea155
8174243: incorrect error message for nested service provider
vromero
parents:
43772
diff
changeset
|
988 |
{0} is not public in {1} |
532c50fea155
8174243: incorrect error message for nested service provider
vromero
parents:
43772
diff
changeset
|
989 |
|
532c50fea155
8174243: incorrect error message for nested service provider
vromero
parents:
43772
diff
changeset
|
990 |
# 0: symbol, 1: symbol |
16328
8b9eb42167f6
8009129: Illegal access error when calling method reference
mcimadamore
parents:
16323
diff
changeset
|
991 |
compiler.misc.not.def.public.cant.access=\ |
8b9eb42167f6
8009129: Illegal access error when calling method reference
mcimadamore
parents:
16323
diff
changeset
|
992 |
{0} is not public in {1}; cannot be accessed from outside package |
8b9eb42167f6
8009129: Illegal access error when calling method reference
mcimadamore
parents:
16323
diff
changeset
|
993 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
994 |
# 0: name |
10 | 995 |
compiler.err.not.loop.label=\ |
996 |
not a loop label: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
997 |
|
10 | 998 |
compiler.err.not.stmt=\ |
999 |
not a statement |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1000 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1001 |
# 0: symbol |
10 | 1002 |
compiler.err.not.encl.class=\ |
1003 |
not an enclosing class: {0} |
|
1004 |
||
29051
7244db2ab176
8071241: Investigate alternate strategy for type-checking operators
mcimadamore
parents:
28456
diff
changeset
|
1005 |
# 0: name, 1: type |
10 | 1006 |
compiler.err.operator.cant.be.applied=\ |
8045 | 1007 |
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
|
1008 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1009 |
# 0: name, 1: type, 2: type |
8045 | 1010 |
compiler.err.operator.cant.be.applied.1=\ |
1011 |
bad operand types for binary operator ''{0}''\n\ |
|
1012 |
first type: {1}\n\ |
|
1013 |
second type: {2} |
|
10 | 1014 |
|
1015 |
compiler.err.pkg.annotations.sb.in.package-info.java=\ |
|
1016 |
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
|
1017 |
|
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
1018 |
compiler.err.no.pkg.in.module-info.java=\ |
44822 | 1019 |
package declarations not allowed in file module-info.java |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
1020 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1021 |
# 0: symbol |
10 | 1022 |
compiler.err.pkg.clashes.with.class.of.same.name=\ |
1023 |
package {0} clashes with class of same name |
|
1024 |
||
1996 | 1025 |
compiler.err.warnings.and.werror=\ |
1026 |
warnings found and -Werror specified |
|
1027 |
||
10 | 1028 |
# Errors related to annotation processing |
1029 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1030 |
# 0: symbol, 1: message segment, 2: string (stack-trace) |
10 | 1031 |
compiler.err.proc.cant.access=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1032 |
cannot access {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1033 |
{1}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1034 |
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
|
1035 |
{2} |
10 | 1036 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1037 |
# 0: symbol, 1: message segment |
9077
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
1038 |
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
|
1039 |
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
|
1040 |
{1} |
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
1041 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1042 |
# 0: string |
10 | 1043 |
compiler.err.proc.cant.find.class=\ |
1044 |
Could not find class file for ''{0}''. |
|
1045 |
||
1046 |
# 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
|
1047 |
# 0: string |
10 | 1048 |
compiler.err.proc.messager=\ |
1049 |
{0} |
|
1050 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1051 |
# 0: string |
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1052 |
compiler.misc.exception.message=\ |
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1053 |
{0} |
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1054 |
|
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1055 |
compiler.misc.user.selected.completion.failure=\ |
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1056 |
user-selected completion failure by class name |
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1057 |
|
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1058 |
# 0: collection of string |
10 | 1059 |
compiler.err.proc.no.explicit.annotation.processing.requested=\ |
1060 |
Class names, ''{0}'', are only accepted if annotation processing is explicitly requested |
|
1061 |
||
1062 |
compiler.err.proc.no.service=\ |
|
10186
31a86b7e18ca
6575445: Update annotation processor to only use java.util.ServiceLoader
darcy
parents:
9604
diff
changeset
|
1063 |
A ServiceLoader was not usable and is required for annotation processing. |
10 | 1064 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1065 |
# 0: string, 1: string |
10 | 1066 |
compiler.err.proc.processor.bad.option.name=\ |
1067 |
Bad option name ''{0}'' provided by processor ''{1}'' |
|
1068 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1069 |
# 0: string |
10 | 1070 |
compiler.err.proc.processor.cant.instantiate=\ |
1071 |
Could not instantiate an instance of processor ''{0}'' |
|
1072 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1073 |
# 0: string |
10 | 1074 |
compiler.err.proc.processor.not.found=\ |
1075 |
Annotation processor ''{0}'' not found |
|
1076 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1077 |
# 0: string |
10 | 1078 |
compiler.err.proc.processor.wrong.type=\ |
1079 |
Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor |
|
1080 |
||
1081 |
compiler.err.proc.service.problem=\ |
|
1082 |
Error creating a service loader to load Processors. |
|
1083 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1084 |
# 0: string |
10 | 1085 |
compiler.err.proc.bad.config.file=\ |
1086 |
Bad service configuration file, or exception thrown while constructing Processor object: {0} |
|
1087 |
||
1088 |
compiler.err.proc.cant.create.loader=\ |
|
1089 |
Could not create class loader for annotation processors: {0} |
|
1090 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1091 |
# 0: symbol |
10 | 1092 |
compiler.err.qualified.new.of.static.class=\ |
1093 |
qualified new of static class |
|
1094 |
||
1095 |
compiler.err.recursive.ctor.invocation=\ |
|
1096 |
recursive constructor invocation |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1097 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1098 |
# 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol |
10 | 1099 |
compiler.err.ref.ambiguous=\ |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
1100 |
reference to {0} is ambiguous\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
1101 |
both {1} {2} in {3} and {4} {5} in {6} match |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
1102 |
|
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
1103 |
# 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
|
1104 |
compiler.misc.ref.ambiguous=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
1105 |
reference to {0} is ambiguous\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
1106 |
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
|
1107 |
|
10 | 1108 |
compiler.err.repeated.annotation.target=\ |
1109 |
repeated annotation target |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1110 |
|
10 | 1111 |
compiler.err.repeated.interface=\ |
1112 |
repeated interface |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1113 |
|
10 | 1114 |
compiler.err.repeated.modifier=\ |
1115 |
repeated modifier |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1116 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1117 |
# 0: symbol, 1: set of modifier, 2: symbol |
10 | 1118 |
compiler.err.report.access=\ |
1119 |
{0} has {1} access in {2} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1120 |
|
19129
b1409ae675f8
8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents:
19122
diff
changeset
|
1121 |
# 0: symbol, 1: set of modifier, 2: symbol |
b1409ae675f8
8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents:
19122
diff
changeset
|
1122 |
compiler.misc.report.access=\ |
b1409ae675f8
8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents:
19122
diff
changeset
|
1123 |
{0} has {1} access in {2} |
b1409ae675f8
8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents:
19122
diff
changeset
|
1124 |
|
10 | 1125 |
compiler.err.ret.outside.meth=\ |
1126 |
return outside method |
|
1127 |
||
1128 |
compiler.err.signature.doesnt.match.supertype=\ |
|
1129 |
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
|
1130 |
|
10 | 1131 |
compiler.err.signature.doesnt.match.intf=\ |
1132 |
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
|
1133 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1134 |
# 0: symbol, 1: symbol, 2: symbol |
10 | 1135 |
compiler.err.does.not.override.abstract=\ |
1136 |
{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
|
1137 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1138 |
# 0: file object |
10 | 1139 |
compiler.err.source.cant.overwrite.input.file=\ |
1140 |
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
|
1141 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1142 |
# 0: symbol |
10 | 1143 |
compiler.err.stack.sim.error=\ |
1144 |
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
|
1145 |
|
10 | 1146 |
compiler.err.static.imp.only.classes.and.interfaces=\ |
1147 |
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
|
1148 |
|
4142 | 1149 |
compiler.err.string.const.req=\ |
1150 |
constant string expression required |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1151 |
|
50213
3085969bdf91
8203436: javac should fail early when emitting illegal signature attributes
mcimadamore
parents:
50086
diff
changeset
|
1152 |
# 0: symbol, 1: fragment |
3085969bdf91
8203436: javac should fail early when emitting illegal signature attributes
mcimadamore
parents:
50086
diff
changeset
|
1153 |
compiler.err.cannot.generate.class=\ |
3085969bdf91
8203436: javac should fail early when emitting illegal signature attributes
mcimadamore
parents:
50086
diff
changeset
|
1154 |
error while generating class {0}\n\ |
3085969bdf91
8203436: javac should fail early when emitting illegal signature attributes
mcimadamore
parents:
50086
diff
changeset
|
1155 |
({1}) |
3085969bdf91
8203436: javac should fail early when emitting illegal signature attributes
mcimadamore
parents:
50086
diff
changeset
|
1156 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1157 |
# 0: symbol, 1: symbol |
50213
3085969bdf91
8203436: javac should fail early when emitting illegal signature attributes
mcimadamore
parents:
50086
diff
changeset
|
1158 |
compiler.misc.synthetic.name.conflict=\ |
10 | 1159 |
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
|
1160 |
|
50213
3085969bdf91
8203436: javac should fail early when emitting illegal signature attributes
mcimadamore
parents:
50086
diff
changeset
|
1161 |
# 0: symbol, 1: type |
3085969bdf91
8203436: javac should fail early when emitting illegal signature attributes
mcimadamore
parents:
50086
diff
changeset
|
1162 |
compiler.misc.illegal.signature=\ |
3085969bdf91
8203436: javac should fail early when emitting illegal signature attributes
mcimadamore
parents:
50086
diff
changeset
|
1163 |
illegal signature attribute for type {1} |
3085969bdf91
8203436: javac should fail early when emitting illegal signature attributes
mcimadamore
parents:
50086
diff
changeset
|
1164 |
|
10 | 1165 |
compiler.err.throws.not.allowed.in.intf.annotation=\ |
1166 |
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
|
1167 |
|
6148
3a8158299c51
6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents:
6145
diff
changeset
|
1168 |
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
|
1169 |
''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
|
1170 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1171 |
# 0: symbol |
10 | 1172 |
compiler.err.type.doesnt.take.params=\ |
1173 |
type {0} does not take parameters |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1174 |
|
10 | 1175 |
compiler.err.type.var.cant.be.deref=\ |
1176 |
cannot select from a type variable |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1177 |
|
10 | 1178 |
compiler.err.type.var.may.not.be.followed.by.other.bounds=\ |
1179 |
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
|
1180 |
|
10 | 1181 |
compiler.err.type.var.more.than.once=\ |
1182 |
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
|
1183 |
|
10 | 1184 |
compiler.err.type.var.more.than.once.in.result=\ |
1185 |
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
|
1186 |
|
48352
9b700a5c4381
8057650: uniform error diagnostics for inconsistent inherited method signatures
mcimadamore
parents:
48054
diff
changeset
|
1187 |
# 0: type, 1: type, 2: fragment |
9b700a5c4381
8057650: uniform error diagnostics for inconsistent inherited method signatures
mcimadamore
parents:
48054
diff
changeset
|
1188 |
compiler.err.types.incompatible=\ |
9b700a5c4381
8057650: uniform error diagnostics for inconsistent inherited method signatures
mcimadamore
parents:
48054
diff
changeset
|
1189 |
types {0} and {1} are incompatible;\n\ |
9b700a5c4381
8057650: uniform error diagnostics for inconsistent inherited method signatures
mcimadamore
parents:
48054
diff
changeset
|
1190 |
{2} |
9b700a5c4381
8057650: uniform error diagnostics for inconsistent inherited method signatures
mcimadamore
parents:
48054
diff
changeset
|
1191 |
|
9b700a5c4381
8057650: uniform error diagnostics for inconsistent inherited method signatures
mcimadamore
parents:
48054
diff
changeset
|
1192 |
# 0: name, 1: list of type |
9b700a5c4381
8057650: uniform error diagnostics for inconsistent inherited method signatures
mcimadamore
parents:
48054
diff
changeset
|
1193 |
compiler.misc.incompatible.diff.ret=\ |
9b700a5c4381
8057650: uniform error diagnostics for inconsistent inherited method signatures
mcimadamore
parents:
48054
diff
changeset
|
1194 |
both define {0}({1}), but with unrelated return types |
10 | 1195 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
1196 |
# 0: kind name, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol |
48352
9b700a5c4381
8057650: uniform error diagnostics for inconsistent inherited method signatures
mcimadamore
parents:
48054
diff
changeset
|
1197 |
compiler.misc.incompatible.unrelated.defaults=\ |
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1198 |
{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
|
1199 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
1200 |
# 0: kind name, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol |
48352
9b700a5c4381
8057650: uniform error diagnostics for inconsistent inherited method signatures
mcimadamore
parents:
48054
diff
changeset
|
1201 |
compiler.misc.incompatible.abstract.default=\ |
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1202 |
{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
|
1203 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
1204 |
# 0: name, 1: kind name, 2: symbol |
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1205 |
compiler.err.default.overrides.object.member=\ |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1206 |
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
|
1207 |
|
15377
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
1208 |
# 0: type |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
1209 |
compiler.err.illegal.static.intf.meth.call=\ |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
1210 |
illegal static interface method call\n\ |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
1211 |
the receiver expression should be replaced with the type qualifier ''{0}'' |
515846bb6637
8005166: Add support for static interface methods
mcimadamore
parents:
15367
diff
changeset
|
1212 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1213 |
# 0: symbol or type, 1: message segment |
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1214 |
compiler.err.illegal.default.super.call=\ |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1215 |
bad type qualifier {0} in default super call\n\ |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1216 |
{1} |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1217 |
|
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1218 |
# 0: symbol, 1: type |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1219 |
compiler.misc.overridden.default=\ |
14547 | 1220 |
method {0} is overridden in {1} |
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1221 |
|
17578 | 1222 |
# 0: symbol, 1: type or symbol |
14443
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1223 |
compiler.misc.redundant.supertype=\ |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1224 |
redundant interface {0} is extended by {1} |
91c05eb19277
7192246: Add type-checking support for default methods
mcimadamore
parents:
14370
diff
changeset
|
1225 |
|
10 | 1226 |
compiler.err.unclosed.char.lit=\ |
1227 |
unclosed character literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1228 |
|
10 | 1229 |
compiler.err.unclosed.comment=\ |
1230 |
unclosed comment |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1231 |
|
10 | 1232 |
compiler.err.unclosed.str.lit=\ |
1233 |
unclosed string literal |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1234 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1235 |
# 0: string |
10 | 1236 |
compiler.err.unsupported.encoding=\ |
1237 |
unsupported encoding: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1238 |
|
10 | 1239 |
compiler.err.io.exception=\ |
1240 |
error reading source file: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1241 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1242 |
# 0: name |
10 | 1243 |
compiler.err.undef.label=\ |
1244 |
undefined label: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1245 |
|
47268
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1246 |
compiler.err.illegal.ref.to.var.type=\ |
50675
273183fd8246
8195293: Issue more comprehensive warnings for use of \"var\" in earlier source versions
mcimadamore
parents:
50568
diff
changeset
|
1247 |
illegal reference to restricted type ''var'' |
273183fd8246
8195293: Issue more comprehensive warnings for use of \"var\" in earlier source versions
mcimadamore
parents:
50568
diff
changeset
|
1248 |
|
47268
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1249 |
compiler.err.var.not.allowed=\ |
50675
273183fd8246
8195293: Issue more comprehensive warnings for use of \"var\" in earlier source versions
mcimadamore
parents:
50568
diff
changeset
|
1250 |
''var'' not allowed here\n\ |
273183fd8246
8195293: Issue more comprehensive warnings for use of \"var\" in earlier source versions
mcimadamore
parents:
50568
diff
changeset
|
1251 |
as of release 10, ''var'' is a restricted local variable type and cannot be used for type declarations |
47268
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1252 |
|
48551
9cf44c40aa35
8189146: Have use of "var" in 9 and earlier source versions issue a warning for type declarations
darcy
parents:
48498
diff
changeset
|
1253 |
compiler.warn.var.not.allowed=\ |
50675
273183fd8246
8195293: Issue more comprehensive warnings for use of \"var\" in earlier source versions
mcimadamore
parents:
50568
diff
changeset
|
1254 |
as of release 10, ''var'' is a restricted local variable type and cannot be used for type declarations or as the element type of an array |
48551
9cf44c40aa35
8189146: Have use of "var" in 9 and earlier source versions issue a warning for type declarations
darcy
parents:
48498
diff
changeset
|
1255 |
|
47268
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1256 |
# 0: name (variable), 1: message segment |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1257 |
compiler.err.cant.infer.local.var.type=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1258 |
cannot infer type for local variable {0}\n\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1259 |
({1}) |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1260 |
|
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1261 |
compiler.err.var.not.allowed.here=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1262 |
''var'' is not allowed here |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1263 |
|
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1264 |
compiler.err.var.not.allowed.array=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1265 |
''var'' is not allowed as an element type of an array |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1266 |
|
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1267 |
compiler.err.var.not.allowed.compound=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1268 |
''var'' is not allowed in a compound declaration |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1269 |
|
48935
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1270 |
# 0: fragment |
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1271 |
compiler.err.invalid.lambda.parameter.declaration=\ |
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1272 |
invalid lambda parameter declaration\n\ |
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1273 |
({0}) |
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1274 |
|
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1275 |
compiler.misc.implicit.and.explicit.not.allowed=\ |
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1276 |
cannot mix implicitly-typed and explicitly-typed parameters |
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1277 |
|
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1278 |
compiler.misc.var.and.explicit.not.allowed=\ |
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1279 |
cannot mix ''var'' and explicitly-typed parameters |
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1280 |
|
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1281 |
compiler.misc.var.and.implicit.not.allowed=\ |
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1282 |
cannot mix ''var'' and implicitly-typed parameters |
03ae177c26b0
8198512: compiler support for local-variable syntax for lambda parameters
vromero
parents:
48926
diff
changeset
|
1283 |
|
47268
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1284 |
compiler.misc.local.cant.infer.null=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1285 |
variable initializer is ''null'' |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1286 |
|
47934
6373d9a0ad82
8191834: Assigning a void expression to a "var" crashes the compiler
mcimadamore
parents:
47485
diff
changeset
|
1287 |
compiler.misc.local.cant.infer.void=\ |
6373d9a0ad82
8191834: Assigning a void expression to a "var" crashes the compiler
mcimadamore
parents:
47485
diff
changeset
|
1288 |
variable initializer is ''void'' |
6373d9a0ad82
8191834: Assigning a void expression to a "var" crashes the compiler
mcimadamore
parents:
47485
diff
changeset
|
1289 |
|
47268
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1290 |
compiler.misc.local.missing.init=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1291 |
cannot use ''var'' on variable without initializer |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1292 |
|
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1293 |
compiler.misc.local.lambda.missing.target=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1294 |
lambda expression needs an explicit target-type |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1295 |
|
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1296 |
compiler.misc.local.mref.missing.target=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1297 |
method reference needs an explicit target-type |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1298 |
|
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1299 |
compiler.misc.local.array.missing.target=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1300 |
array initializer needs an explicit target-type |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1301 |
|
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1302 |
compiler.misc.local.self.ref=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1303 |
cannot use ''var'' on self-referencing variable |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
1304 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1305 |
# 0: message segment, 1: unused |
5321
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
1306 |
compiler.err.cant.apply.diamond=\ |
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
1307 |
cannot infer type arguments for {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1308 |
|
11053
48713f779b1d
7108669: cleanup Log methods for direct printing to streams
jjg
parents:
10816
diff
changeset
|
1309 |
# 0: message segment or type, 1: message segment |
5321
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
1310 |
compiler.err.cant.apply.diamond.1=\ |
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1311 |
cannot infer type arguments for {0}\n\ |
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1312 |
reason: {1} |
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1313 |
|
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1314 |
# 0: message segment or type, 1: message segment |
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1315 |
compiler.misc.cant.apply.diamond.1=\ |
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
1316 |
cannot infer type arguments for {0}\n\ |
5321
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
1317 |
reason: {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1318 |
|
10 | 1319 |
compiler.err.unreachable.stmt=\ |
1320 |
unreachable statement |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1321 |
|
51563
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
1322 |
compiler.err.not.exhaustive=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
1323 |
the switch expression does not cover all possible input values |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
1324 |
|
10 | 1325 |
compiler.err.initializer.must.be.able.to.complete.normally=\ |
1326 |
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
|
1327 |
|
23133
a58476887b3d
8031383: Error recovery in JavacParser could be improved
jlahoda
parents:
23128
diff
changeset
|
1328 |
compiler.err.initializer.not.allowed=\ |
a58476887b3d
8031383: Error recovery in JavacParser could be improved
jlahoda
parents:
23128
diff
changeset
|
1329 |
initializers not allowed in interfaces |
a58476887b3d
8031383: Error recovery in JavacParser could be improved
jlahoda
parents:
23128
diff
changeset
|
1330 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1331 |
# 0: type |
10 | 1332 |
compiler.err.unreported.exception.need.to.catch.or.throw=\ |
1333 |
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
|
1334 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1335 |
# 0: type |
10 | 1336 |
compiler.err.unreported.exception.default.constructor=\ |
1337 |
unreported exception {0} in default constructor |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1338 |
|
8428
1e9935b883cd
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents:
8242
diff
changeset
|
1339 |
# 0: type, 1: name |
1e9935b883cd
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents:
8242
diff
changeset
|
1340 |
compiler.err.unreported.exception.implicit.close=\ |
1e9935b883cd
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents:
8242
diff
changeset
|
1341 |
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
|
1342 |
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
|
1343 |
|
10 | 1344 |
compiler.err.unsupported.cross.fp.lit=\ |
1345 |
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
|
1346 |
|
10 | 1347 |
compiler.err.void.not.allowed.here=\ |
1348 |
''void'' type not allowed here |
|
1349 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1350 |
# 0: string |
10 | 1351 |
compiler.err.wrong.number.type.args=\ |
1352 |
wrong number of type arguments; required {0} |
|
1353 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1354 |
# 0: symbol |
10 | 1355 |
compiler.err.var.might.already.be.assigned=\ |
1356 |
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
|
1357 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1358 |
# 0: symbol |
10 | 1359 |
compiler.err.var.might.not.have.been.initialized=\ |
1360 |
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
|
1361 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1362 |
# 0: symbol |
19122
1841f2fa76de
8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents:
18387
diff
changeset
|
1363 |
compiler.err.var.not.initialized.in.default.constructor=\ |
1841f2fa76de
8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents:
18387
diff
changeset
|
1364 |
variable {0} not initialized in the default constructor |
1841f2fa76de
8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents:
18387
diff
changeset
|
1365 |
|
1841f2fa76de
8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents:
18387
diff
changeset
|
1366 |
# 0: symbol |
10 | 1367 |
compiler.err.var.might.be.assigned.in.loop=\ |
1368 |
variable {0} might be assigned in loop |
|
1369 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1370 |
# 0: symbol, 1: message segment |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1371 |
compiler.err.varargs.invalid.trustme.anno=\ |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1372 |
Invalid {0} annotation. {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1373 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1374 |
# 0: type |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1375 |
compiler.misc.varargs.trustme.on.reifiable.varargs=\ |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1376 |
Varargs element type {0} is reifiable. |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1377 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1378 |
# 0: symbol |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1379 |
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
|
1380 |
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
|
1381 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1382 |
# 0: symbol |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1383 |
compiler.misc.varargs.trustme.on.virtual.varargs=\ |
25283
082d51b7010b
7196160: Project Coin: allow @SafeVarargs on private methods
darcy
parents:
24901
diff
changeset
|
1384 |
Instance method {0} is neither final nor private. |
082d51b7010b
7196160: Project Coin: allow @SafeVarargs on private methods
darcy
parents:
24901
diff
changeset
|
1385 |
|
082d51b7010b
7196160: Project Coin: allow @SafeVarargs on private methods
darcy
parents:
24901
diff
changeset
|
1386 |
# 0: symbol |
082d51b7010b
7196160: Project Coin: allow @SafeVarargs on private methods
darcy
parents:
24901
diff
changeset
|
1387 |
compiler.misc.varargs.trustme.on.virtual.varargs.final.only=\ |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1388 |
Instance method {0} is not final. |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1389 |
|
11053
48713f779b1d
7108669: cleanup Log methods for direct printing to streams
jjg
parents:
10816
diff
changeset
|
1390 |
# 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
|
1391 |
compiler.misc.inaccessible.varargs.type=\ |
39266c1b1b0e
6313164: javac generates code that fails byte code verification for the varargs feature
mcimadamore
parents:
8226
diff
changeset
|
1392 |
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
|
1393 |
|
10 | 1394 |
# In the following string, {1} will always be the detail message from |
1395 |
# java.io.IOException. |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1396 |
# 0: symbol, 1: string |
10 | 1397 |
compiler.err.class.cant.write=\ |
1398 |
error while writing {0}: {1} |
|
1399 |
||
1400 |
# In the following string, {0} is the name of the class in the Java source. |
|
1401 |
# It really should be used two times.. |
|
43756
118221d3960d
8174027: error message should adapt to the corresponding top level element
vromero
parents:
43588
diff
changeset
|
1402 |
# 0: kind name, 1: name |
10 | 1403 |
compiler.err.class.public.should.be.in.file=\ |
43756
118221d3960d
8174027: error message should adapt to the corresponding top level element
vromero
parents:
43588
diff
changeset
|
1404 |
{0} {1} is public, should be declared in a file named {1}.java |
10 | 1405 |
|
1406 |
## All errors which do not refer to a particular line in the source code are |
|
1407 |
## preceded by this string. |
|
1408 |
compiler.err.error=\ |
|
1409 |
error:\u0020 |
|
1410 |
||
1411 |
# The following error messages do not refer to a line in the source code. |
|
1412 |
compiler.err.cant.read.file=\ |
|
1413 |
cannot read: {0} |
|
1414 |
||
27387
54142fc27e8a
8063039: incorrect message reference or broken message file
jjg
parents:
25874
diff
changeset
|
1415 |
# 0: string |
54142fc27e8a
8063039: incorrect message reference or broken message file
jjg
parents:
25874
diff
changeset
|
1416 |
compiler.err.plugin.not.found=\ |
54142fc27e8a
8063039: incorrect message reference or broken message file
jjg
parents:
25874
diff
changeset
|
1417 |
plug-in not found: {0} |
54142fc27e8a
8063039: incorrect message reference or broken message file
jjg
parents:
25874
diff
changeset
|
1418 |
|
36526 | 1419 |
# 0: path |
1420 |
compiler.warn.locn.unknown.file.on.module.path=\ |
|
1421 |
unknown file on module path: {0} |
|
1422 |
||
1423 |
||
1424 |
# 0: path |
|
1425 |
compiler.err.locn.bad.module-info=\ |
|
1426 |
problem reading module-info.class in {0} |
|
1427 |
||
1428 |
# 0: path |
|
1429 |
compiler.err.locn.cant.read.directory=\ |
|
1430 |
cannot read directory {0} |
|
1431 |
||
1432 |
# 0: path |
|
1433 |
compiler.err.locn.cant.read.file=\ |
|
1434 |
cannot read file {0} |
|
1435 |
||
1436 |
# 0: path |
|
1437 |
compiler.err.locn.cant.get.module.name.for.jar=\ |
|
1438 |
cannot determine module name for {0} |
|
1439 |
||
1440 |
# 0: path |
|
1441 |
compiler.err.multi-module.outdir.cannot.be.exploded.module=\ |
|
1442 |
in multi-module mode, the output directory cannot be an exploded module: {0} |
|
1443 |
||
1444 |
# 0: path |
|
1445 |
compiler.warn.outdir.is.in.exploded.module=\ |
|
1446 |
the output directory is within an exploded module: {0} |
|
1447 |
||
43772
4e5350b7be75
8173777: Merge javac -Xmodule into javac--patch-module
jlahoda
parents:
43756
diff
changeset
|
1448 |
# 0: file object |
36526 | 1449 |
compiler.err.locn.module-info.not.allowed.on.patch.path=\ |
1450 |
module-info.class not allowed on patch path: {0} |
|
1451 |
||
1452 |
# 0: string |
|
1453 |
compiler.err.locn.invalid.arg.for.xpatch=\ |
|
40308
274367a99f98
8136930: Simplify use of module-system options by custom launchers
jjg
parents:
39361
diff
changeset
|
1454 |
invalid argument for --patch-module option: {0} |
36526 | 1455 |
|
44822 | 1456 |
compiler.err.file.sb.on.source.or.patch.path.for.module=\ |
1457 |
file should be on source path, or on patch path for module |
|
1458 |
||
10 | 1459 |
##### |
1460 |
||
1461 |
# Fatal Errors |
|
1462 |
||
1463 |
compiler.misc.fatal.err.no.java.lang=\ |
|
1464 |
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
|
1465 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1466 |
# 0: name |
10 | 1467 |
compiler.misc.fatal.err.cant.locate.meth=\ |
1468 |
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
|
1469 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1470 |
# 0: name |
10 | 1471 |
compiler.misc.fatal.err.cant.locate.field=\ |
1472 |
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
|
1473 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1474 |
# 0: type |
10 | 1475 |
compiler.misc.fatal.err.cant.locate.ctor=\ |
1476 |
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
|
1477 |
|
10637
2ea5fbb913ac
7092965: javac should not close processorClassLoader before end of compilation
jjg
parents:
10628
diff
changeset
|
1478 |
compiler.misc.fatal.err.cant.close=\ |
2ea5fbb913ac
7092965: javac should not close processorClassLoader before end of compilation
jjg
parents:
10628
diff
changeset
|
1479 |
Fatal Error: Cannot close compiler resources |
10 | 1480 |
|
1481 |
##### |
|
1482 |
||
1483 |
## |
|
1484 |
## miscellaneous strings |
|
1485 |
## |
|
1486 |
||
36272
950bd442a822
8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents:
36153
diff
changeset
|
1487 |
compiler.misc.diamond.anonymous.methods.implicitly.override=\ |
950bd442a822
8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents:
36153
diff
changeset
|
1488 |
(due to <>, every non-private method declared in this anonymous class must override or implement a method from a supertype) |
950bd442a822
8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents:
36153
diff
changeset
|
1489 |
|
10 | 1490 |
compiler.misc.source.unavailable=\ |
1491 |
(source unavailable) |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1492 |
|
10 | 1493 |
compiler.misc.base.membership=\ |
1494 |
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
|
1495 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1496 |
# 0: string, 1: string, 2: boolean |
10 | 1497 |
compiler.misc.x.print.processor.info=\ |
1498 |
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
|
1499 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1500 |
# 0: number, 1: string, 2: set of symbol, 3: boolean |
10 | 1501 |
compiler.misc.x.print.rounds=\ |
1502 |
Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3} |
|
1503 |
||
23128
c91951cf65f0
6533516: Warning needed for file with future time stamps
jjg
parents:
22701
diff
changeset
|
1504 |
# 0: file name |
c91951cf65f0
6533516: Warning needed for file with future time stamps
jjg
parents:
22701
diff
changeset
|
1505 |
compiler.warn.file.from.future=\ |
c91951cf65f0
6533516: Warning needed for file with future time stamps
jjg
parents:
22701
diff
changeset
|
1506 |
Modification date is in the future for file {0} |
c91951cf65f0
6533516: Warning needed for file with future time stamps
jjg
parents:
22701
diff
changeset
|
1507 |
|
10 | 1508 |
##### |
1509 |
||
1510 |
## The following string will appear before all messages keyed as: |
|
1511 |
## "compiler.note". |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
1512 |
|
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
1513 |
compiler.note.compressed.diags=\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
1514 |
Some messages have been simplified; recompile with -Xdiags:verbose to get full output |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
1515 |
|
18386 | 1516 |
# 0: boolean, 1: symbol |
1517 |
compiler.note.lambda.stat=\ |
|
1518 |
Translating lambda expression\n\ |
|
1519 |
alternate metafactory = {0}\n\ |
|
1520 |
synthetic method = {1} |
|
1521 |
||
1522 |
# 0: boolean, 1: unused |
|
1523 |
compiler.note.mref.stat=\ |
|
1524 |
Translating method reference\n\ |
|
1525 |
alternate metafactory = {0}\n\ |
|
1526 |
||
1527 |
# 0: boolean, 1: symbol |
|
1528 |
compiler.note.mref.stat.1=\ |
|
1529 |
Translating method reference\n\ |
|
1530 |
alternate metafactory = {0}\n\ |
|
1531 |
bridge method = {1} |
|
1532 |
||
10 | 1533 |
compiler.note.note=\ |
1534 |
Note:\u0020 |
|
1535 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1536 |
# 0: file name |
10 | 1537 |
compiler.note.deprecated.filename=\ |
1538 |
{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
|
1539 |
|
10 | 1540 |
compiler.note.deprecated.plural=\ |
1541 |
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
|
1542 |
|
10 | 1543 |
# The following string may appear after one of the above deprecation |
1544 |
# messages. |
|
1545 |
compiler.note.deprecated.recompile=\ |
|
1546 |
Recompile with -Xlint:deprecation for details. |
|
1547 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1548 |
# 0: file name |
10 | 1549 |
compiler.note.deprecated.filename.additional=\ |
1550 |
{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
|
1551 |
|
10 | 1552 |
compiler.note.deprecated.plural.additional=\ |
1553 |
Some input files additionally use or override a deprecated API. |
|
1554 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1555 |
# 0: file name |
41637 | 1556 |
compiler.note.removal.filename=\ |
1557 |
{0} uses or overrides a deprecated API that is marked for removal. |
|
1558 |
||
1559 |
compiler.note.removal.plural=\ |
|
1560 |
Some input files use or override a deprecated API that is marked for removal. |
|
1561 |
||
1562 |
# The following string may appear after one of the above removal messages. |
|
1563 |
compiler.note.removal.recompile=\ |
|
1564 |
Recompile with -Xlint:removal for details. |
|
1565 |
||
1566 |
# 0: file name |
|
1567 |
compiler.note.removal.filename.additional=\ |
|
1568 |
{0} has additional uses or overrides of a deprecated API that is marked for removal. |
|
1569 |
||
1570 |
compiler.note.removal.plural.additional=\ |
|
1571 |
Some input files additionally use or override a deprecated API that is marked for removal. |
|
1572 |
||
1573 |
# 0: file name |
|
10 | 1574 |
compiler.note.unchecked.filename=\ |
1575 |
{0} uses unchecked or unsafe operations. |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1576 |
|
10 | 1577 |
compiler.note.unchecked.plural=\ |
1578 |
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
|
1579 |
|
41637 | 1580 |
# The following string may appear after one of the above unchecked messages. |
10 | 1581 |
compiler.note.unchecked.recompile=\ |
1582 |
Recompile with -Xlint:unchecked for details. |
|
1583 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1584 |
# 0: file name |
10 | 1585 |
compiler.note.unchecked.filename.additional=\ |
1586 |
{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
|
1587 |
|
10 | 1588 |
compiler.note.unchecked.plural.additional=\ |
1589 |
Some input files additionally use unchecked or unsafe operations. |
|
1590 |
||
49580
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1591 |
# 0: file name |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1592 |
compiler.note.preview.filename=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1593 |
{0} uses preview language features. |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1594 |
|
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1595 |
compiler.note.preview.plural=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1596 |
Some input files use preview language features. |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1597 |
|
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1598 |
# The following string may appear after one of the above deprecation |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1599 |
# messages. |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1600 |
compiler.note.preview.recompile=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1601 |
Recompile with -Xlint:preview for details. |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1602 |
|
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1603 |
# 0: file name |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1604 |
compiler.note.preview.filename.additional=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1605 |
{0} has additional uses of preview language features. |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1606 |
|
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1607 |
compiler.note.preview.plural.additional=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1608 |
Some input files additionally use preview language features. |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
1609 |
|
3661 | 1610 |
# Notes related to annotation processing |
1611 |
||
1612 |
# 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
|
1613 |
# 0: string |
3661 | 1614 |
compiler.note.proc.messager=\ |
1615 |
{0} |
|
1616 |
||
43149 | 1617 |
# 0: string, 1: string, 2: string |
1618 |
compiler.note.multiple.elements=\ |
|
43869
4ef31af1d15a
8175038: Wrong note about multiple type/package elements being found.
jlahoda
parents:
43865
diff
changeset
|
1619 |
Multiple elements named ''{1}'' in modules ''{2}'' were found by javax.lang.model.util.Elements.{0}. |
43149 | 1620 |
|
10 | 1621 |
##### |
1622 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1623 |
# 0: number |
10 | 1624 |
compiler.misc.count.error=\ |
1625 |
{0} error |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1626 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1627 |
# 0: number |
10 | 1628 |
compiler.misc.count.error.plural=\ |
1629 |
{0} errors |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1630 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1631 |
# 0: number |
10 | 1632 |
compiler.misc.count.warn=\ |
1633 |
{0} warning |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1634 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1635 |
# 0: number |
10 | 1636 |
compiler.misc.count.warn.plural=\ |
1637 |
{0} warnings |
|
1638 |
||
6031
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
1639 |
compiler.misc.version.not.available=\ |
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
1640 |
(version info not available) |
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
1641 |
|
10 | 1642 |
## extra output when using -verbose (JavaCompiler) |
1643 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1644 |
# 0: symbol |
10 | 1645 |
compiler.misc.verbose.checking.attribution=\ |
1646 |
[checking {0}] |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1647 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1648 |
# 0: string |
10 | 1649 |
compiler.misc.verbose.parsing.done=\ |
1650 |
[parsing completed {0}ms] |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1651 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1652 |
# 0: file name |
10 | 1653 |
compiler.misc.verbose.parsing.started=\ |
1654 |
[parsing started {0}] |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1655 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1656 |
# 0: string |
10 | 1657 |
compiler.misc.verbose.total=\ |
1658 |
[total {0}ms] |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1659 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1660 |
# 0: file name |
10 | 1661 |
compiler.misc.verbose.wrote.file=\ |
1662 |
[wrote {0}] |
|
1663 |
||
1664 |
## 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
|
1665 |
# 0: string |
10 | 1666 |
compiler.misc.verbose.loading=\ |
1667 |
[loading {0}] |
|
1668 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1669 |
# 0: string |
10 | 1670 |
compiler.misc.verbose.sourcepath=\ |
1671 |
[search path for source files: {0}] |
|
1672 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1673 |
# 0: string |
10 | 1674 |
compiler.misc.verbose.classpath=\ |
1675 |
[search path for class files: {0}] |
|
1676 |
||
1677 |
## extra output when using -prompt (util/Log) |
|
1678 |
compiler.misc.resume.abort=\ |
|
1679 |
R)esume, A)bort> |
|
1680 |
||
1681 |
##### |
|
1682 |
||
1683 |
## |
|
1684 |
## warnings |
|
1685 |
## |
|
1686 |
||
1687 |
## All warning messages are preceded by the following string. |
|
1688 |
compiler.warn.warning=\ |
|
1689 |
warning:\u0020 |
|
1690 |
||
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1691 |
## 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
|
1692 |
## lint option |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1693 |
# 0: option name |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1694 |
compiler.warn.lintOption=\ |
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1695 |
[{0}]\u0020 |
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1696 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1697 |
# 0: symbol |
10 | 1698 |
compiler.warn.constant.SVUID=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1699 |
serialVersionUID must be constant in class {0} |
10 | 1700 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1701 |
# 0: path |
10 | 1702 |
compiler.warn.dir.path.element.not.found=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1703 |
bad path element "{0}": no such directory |
10 | 1704 |
|
36526 | 1705 |
# 0: file name |
1706 |
compiler.warn.dir.path.element.not.directory=\ |
|
1707 |
bad path element "{0}": not a directory |
|
1708 |
||
10 | 1709 |
compiler.warn.finally.cannot.complete=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1710 |
finally clause cannot complete normally |
10 | 1711 |
|
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42408
diff
changeset
|
1712 |
# 0: name |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42408
diff
changeset
|
1713 |
compiler.warn.poor.choice.for.module.name=\ |
44568
3d870d326626
8176572: Javac does not enforce module name restrictions
sadayapalam
parents:
44289
diff
changeset
|
1714 |
module name component {0} should avoid terminal digits |
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42408
diff
changeset
|
1715 |
|
43270
de9a02e20567
8171177: Compiler should issue a warning for incubating modules that are resolved
jlahoda
parents:
43267
diff
changeset
|
1716 |
# 0: string |
de9a02e20567
8171177: Compiler should issue a warning for incubating modules that are resolved
jlahoda
parents:
43267
diff
changeset
|
1717 |
compiler.warn.incubating.modules=\ |
de9a02e20567
8171177: Compiler should issue a warning for incubating modules that are resolved
jlahoda
parents:
43267
diff
changeset
|
1718 |
using incubating module(s): {0} |
de9a02e20567
8171177: Compiler should issue a warning for incubating modules that are resolved
jlahoda
parents:
43267
diff
changeset
|
1719 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1720 |
# 0: symbol, 1: symbol |
10 | 1721 |
compiler.warn.has.been.deprecated=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1722 |
{0} in {1} has been deprecated |
10 | 1723 |
|
41637 | 1724 |
# 0: symbol, 1: symbol |
1725 |
compiler.warn.has.been.deprecated.for.removal=\ |
|
1726 |
{0} in {1} has been deprecated and marked for removal |
|
1727 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1728 |
# 0: symbol |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
1729 |
compiler.warn.has.been.deprecated.module=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
1730 |
module {0} has been deprecated |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
1731 |
|
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
1732 |
# 0: symbol |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
1733 |
compiler.warn.has.been.deprecated.for.removal.module=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
1734 |
module {0} has been deprecated and marked for removal |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
1735 |
|
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
1736 |
# 0: symbol |
10 | 1737 |
compiler.warn.sun.proprietary=\ |
5848
c5a4ce47e780
6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents:
5846
diff
changeset
|
1738 |
{0} is internal proprietary API and may be removed in a future release |
10 | 1739 |
|
1740 |
compiler.warn.illegal.char.for.encoding=\ |
|
1741 |
unmappable character for encoding {0} |
|
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1742 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1743 |
# 0: symbol |
10 | 1744 |
compiler.warn.improper.SVUID=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1745 |
serialVersionUID must be declared static final in class {0} |
10 | 1746 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1747 |
# 0: type, 1: type |
10 | 1748 |
compiler.warn.inexact.non-varargs.call=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1749 |
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
|
1750 |
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
|
1751 |
cast to {1} for a non-varargs call and to suppress this warning |
10 | 1752 |
|
8849
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1753 |
# 0: list of type |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1754 |
compiler.warn.unreachable.catch=\ |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1755 |
unreachable catch clause\n\ |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1756 |
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
|
1757 |
|
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1758 |
# 0: list of type |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1759 |
compiler.warn.unreachable.catch.1=\ |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1760 |
unreachable catch clause\n\ |
4189ac38ddc9
6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents:
8635
diff
changeset
|
1761 |
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
|
1762 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1763 |
# 0: symbol |
10 | 1764 |
compiler.warn.long.SVUID=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1765 |
serialVersionUID must be of type long in class {0} |
10 | 1766 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1767 |
# 0: symbol |
10 | 1768 |
compiler.warn.missing.SVUID=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1769 |
serializable class {0} has no definition of serialVersionUID |
10 | 1770 |
|
19914 | 1771 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
1772 |
compiler.warn.potentially.ambiguous.overload=\ |
|
1773 |
{0} in {1} is potentially ambiguous with {2} in {3} |
|
1774 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1775 |
# 0: message segment |
10 | 1776 |
compiler.warn.override.varargs.missing=\ |
1777 |
{0}; overridden method has no ''...'' |
|
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: message segment |
10 | 1780 |
compiler.warn.override.varargs.extra=\ |
1781 |
{0}; overriding method is missing ''...'' |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1782 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1783 |
# 0: message segment |
10 | 1784 |
compiler.warn.override.bridge=\ |
1785 |
{0}; overridden method is a bridge method |
|
1786 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1787 |
# 0: symbol |
10 | 1788 |
compiler.warn.pkg-info.already.seen=\ |
4692 | 1789 |
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
|
1790 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1791 |
# 0: path |
10 | 1792 |
compiler.warn.path.element.not.found=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1793 |
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
|
1794 |
|
10 | 1795 |
compiler.warn.possible.fall-through.into.case=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1796 |
possible fall-through into case |
10 | 1797 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1798 |
# 0: type |
10 | 1799 |
compiler.warn.redundant.cast=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1800 |
redundant cast to {0} |
10 | 1801 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1802 |
# 0: number |
10 | 1803 |
compiler.warn.position.overflow=\ |
1804 |
Position encoding overflows at line {0} |
|
1805 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1806 |
# 0: file name, 1: number, 2: number |
10 | 1807 |
compiler.warn.big.major.version=\ |
1808 |
{0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\ |
|
1809 |
It is recommended that the compiler be upgraded. |
|
1810 |
||
48721
ef3557eb4306
8196403: remove the remaining use of string keys for errors and warnings in the compiler
vromero
parents:
48608
diff
changeset
|
1811 |
# 0: kind name, 1: symbol |
5002
12a9e8562200
4880220: Add a warning when accessing a static method via an reference
jjg
parents:
4692
diff
changeset
|
1812 |
compiler.warn.static.not.qualified.by.type=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1813 |
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
|
1814 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1815 |
# 0: string |
7335
8b390fd27190
6900037: javac should warn if earlier -source is used and bootclasspath not set
jjg
parents:
7330
diff
changeset
|
1816 |
compiler.warn.source.no.bootclasspath=\ |
8b390fd27190
6900037: javac should warn if earlier -source is used and bootclasspath not set
jjg
parents:
7330
diff
changeset
|
1817 |
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
|
1818 |
|
19508
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1819 |
# 0: string |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1820 |
compiler.warn.option.obsolete.source=\ |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1821 |
source value {0} is obsolete and will be removed in a future release |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1822 |
|
49822
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
1823 |
# 0: target |
19508
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1824 |
compiler.warn.option.obsolete.target=\ |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1825 |
target value {0} is obsolete and will be removed in a future release |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1826 |
|
25445
603f0c93d5c9
8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents:
25283
diff
changeset
|
1827 |
# 0: string, 1: string |
603f0c93d5c9
8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents:
25283
diff
changeset
|
1828 |
compiler.err.option.removed.source=\ |
603f0c93d5c9
8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents:
25283
diff
changeset
|
1829 |
Source option {0} is no longer supported. Use {1} or later. |
603f0c93d5c9
8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents:
25283
diff
changeset
|
1830 |
|
49822
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
1831 |
# 0: target, 1: target |
25445
603f0c93d5c9
8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents:
25283
diff
changeset
|
1832 |
compiler.err.option.removed.target=\ |
603f0c93d5c9
8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents:
25283
diff
changeset
|
1833 |
Target option {0} is no longer supported. Use {1} or later. |
603f0c93d5c9
8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents:
25283
diff
changeset
|
1834 |
|
48746
c9ab849cd2f5
8190452: javac should not add MethodParameters attributes to v51 and earlier class files
cushon
parents:
48721
diff
changeset
|
1835 |
|
49822
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
1836 |
# 0: target, 1: target |
48746
c9ab849cd2f5
8190452: javac should not add MethodParameters attributes to v51 and earlier class files
cushon
parents:
48721
diff
changeset
|
1837 |
compiler.warn.option.parameters.unsupported=\ |
c9ab849cd2f5
8190452: javac should not add MethodParameters attributes to v51 and earlier class files
cushon
parents:
48721
diff
changeset
|
1838 |
-parameters is not supported for target value {0}. Use {1} or later. |
c9ab849cd2f5
8190452: javac should not add MethodParameters attributes to v51 and earlier class files
cushon
parents:
48721
diff
changeset
|
1839 |
|
19508
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1840 |
compiler.warn.option.obsolete.suppression=\ |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1841 |
To suppress warnings about obsolete options, use -Xlint:-options. |
e2cd0ed6c9b0
8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents:
19502
diff
changeset
|
1842 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1843 |
# 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
|
1844 |
compiler.warn.future.attr=\ |
c31b0ea95b37
6999210: javac should be able to warn of anomalous conditions in classfiles
jjg
parents:
7335
diff
changeset
|
1845 |
{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
|
1846 |
|
44576 | 1847 |
compiler.warn.requires.automatic=\ |
1848 |
requires directive for an automatic module |
|
1849 |
||
1850 |
compiler.warn.requires.transitive.automatic=\ |
|
1851 |
requires transitive directive for an automatic module |
|
1852 |
||
10 | 1853 |
# Warnings related to annotation processing |
36526 | 1854 |
# 0: string |
10 | 1855 |
compiler.warn.proc.package.does.not.exist=\ |
1856 |
package {0} does not exist |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1857 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1858 |
# 0: string |
10 | 1859 |
compiler.warn.proc.file.reopening=\ |
1860 |
Attempt to create a file for ''{0}'' multiple times |
|
1861 |
||
48721
ef3557eb4306
8196403: remove the remaining use of string keys for errors and warnings in the compiler
vromero
parents:
48608
diff
changeset
|
1862 |
# 0: string |
10 | 1863 |
compiler.warn.proc.type.already.exists=\ |
1864 |
A file for type ''{0}'' already exists on the sourcepath or classpath |
|
1865 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1866 |
# 0: string |
10 | 1867 |
compiler.warn.proc.type.recreate=\ |
1868 |
Attempt to create a file for type ''{0}'' multiple times |
|
1869 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1870 |
# 0: string |
10 | 1871 |
compiler.warn.proc.illegal.file.name=\ |
1872 |
Cannot create file for illegal name ''{0}''. |
|
1873 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1874 |
# 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
|
1875 |
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
|
1876 |
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
|
1877 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1878 |
# 0: string |
10 | 1879 |
compiler.warn.proc.file.create.last.round=\ |
1880 |
File for type ''{0}'' created in the last round will not be subject to annotation processing. |
|
1881 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1882 |
# 0: string, 1: string |
10 | 1883 |
compiler.warn.proc.malformed.supported.string=\ |
1884 |
Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}'' |
|
1885 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1886 |
# 0: set of string |
10 | 1887 |
compiler.warn.proc.annotations.without.processors=\ |
1888 |
No processor claimed any of these annotations: {0} |
|
1889 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1890 |
# 0: source version, 1: string, 2: string |
10 | 1891 |
compiler.warn.proc.processor.incompatible.source.version=\ |
1892 |
Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}'' |
|
1893 |
||
1894 |
compiler.warn.proc.proc-only.requested.no.procs=\ |
|
1895 |
Annotation processing without compilation requested but no processors were found. |
|
1896 |
||
1897 |
compiler.warn.proc.use.implicit=\ |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1898 |
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
|
1899 |
Use -implicit to specify a policy for implicit compilation. |
10 | 1900 |
|
1901 |
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
|
1902 |
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
|
1903 |
Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation. |
10 | 1904 |
|
1905 |
# 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
|
1906 |
# 0: string |
10 | 1907 |
compiler.warn.proc.messager=\ |
1908 |
{0} |
|
1909 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1910 |
# 0: set of string |
10 | 1911 |
compiler.warn.proc.unclosed.type.files=\ |
1912 |
Unclosed files for the types ''{0}''; these types will not undergo annotation processing |
|
1913 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1914 |
# 0: string |
10 | 1915 |
compiler.warn.proc.unmatched.processor.options=\ |
1916 |
The following options were not recognized by any processor: ''{0}'' |
|
1917 |
||
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
1918 |
compiler.warn.try.explicit.close.call=\ |
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
1919 |
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
|
1920 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1921 |
# 0: symbol |
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
1922 |
compiler.warn.try.resource.not.referenced=\ |
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
1923 |
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
|
1924 |
|
9076
45c73da050e9
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents:
9074
diff
changeset
|
1925 |
# 0: type |
45c73da050e9
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents:
9074
diff
changeset
|
1926 |
compiler.warn.try.resource.throws.interrupted.exc=\ |
45c73da050e9
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents:
9074
diff
changeset
|
1927 |
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
|
1928 |
|
10 | 1929 |
compiler.warn.unchecked.assign=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1930 |
unchecked assignment: {0} to {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1931 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1932 |
# 0: symbol, 1: type |
10 | 1933 |
compiler.warn.unchecked.assign.to.var=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1934 |
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
|
1935 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1936 |
# 0: symbol, 1: type |
10 | 1937 |
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
|
1938 |
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
|
1939 |
|
10 | 1940 |
compiler.warn.unchecked.cast.to.type=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1941 |
unchecked cast to type {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1942 |
|
48721
ef3557eb4306
8196403: remove the remaining use of string keys for errors and warnings in the compiler
vromero
parents:
48608
diff
changeset
|
1943 |
# 0: kind name, 1: name, 2: object, 3: object, 4: kind name, 5: symbol |
10 | 1944 |
compiler.warn.unchecked.meth.invocation.applied=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1945 |
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
|
1946 |
required: {2}\n\ |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
1358
diff
changeset
|
1947 |
found: {3} |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
1358
diff
changeset
|
1948 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1949 |
# 0: type |
10 | 1950 |
compiler.warn.unchecked.generic.array.creation=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1951 |
unchecked generic array creation for varargs parameter of type {0} |
10 | 1952 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1953 |
# 0: type |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1954 |
compiler.warn.unchecked.varargs.non.reifiable.type=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1955 |
Possible heap pollution from parameterized vararg type {0} |
5846
6df0e6bcb388
6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents:
5520
diff
changeset
|
1956 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
1957 |
# 0: symbol |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1958 |
compiler.warn.varargs.unsafe.use.varargs.param=\ |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
1959 |
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
|
1960 |
|
10 | 1961 |
compiler.warn.missing.deprecated.annotation=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1962 |
deprecated item is not annotated with @Deprecated |
10 | 1963 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1964 |
# 0: kind name |
40313
a85f92c9a8ab
8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
sadayapalam
parents:
40308
diff
changeset
|
1965 |
compiler.warn.deprecated.annotation.has.no.effect=\ |
a85f92c9a8ab
8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
sadayapalam
parents:
40308
diff
changeset
|
1966 |
@Deprecated annotation has no effect on this {0} declaration |
a85f92c9a8ab
8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
sadayapalam
parents:
40308
diff
changeset
|
1967 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1968 |
# 0: string |
42837
03ee805ba348
8169005: tools/javac/T8132562/ClassPathWithDoubleQuotesTest.java fails after fix to JDK-8132562
vromero
parents:
42822
diff
changeset
|
1969 |
compiler.warn.invalid.path=\ |
03ee805ba348
8169005: tools/javac/T8132562/ClassPathWithDoubleQuotesTest.java fails after fix to JDK-8132562
vromero
parents:
42822
diff
changeset
|
1970 |
Invalid filename: {0} |
03ee805ba348
8169005: tools/javac/T8132562/ClassPathWithDoubleQuotesTest.java fails after fix to JDK-8132562
vromero
parents:
42822
diff
changeset
|
1971 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1972 |
# 0: path |
10 | 1973 |
compiler.warn.invalid.archive.file=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1974 |
Unexpected file on path: {0} |
10 | 1975 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1976 |
# 0: path |
10 | 1977 |
compiler.warn.unexpected.archive.file=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1978 |
Unexpected extension for archive file: {0} |
10 | 1979 |
|
40513
39b67170b045
8153391: an image created for \"jdk.compiler\" fails to run javac
jlahoda
parents:
40502
diff
changeset
|
1980 |
# 0: path |
39b67170b045
8153391: an image created for \"jdk.compiler\" fails to run javac
jlahoda
parents:
40502
diff
changeset
|
1981 |
compiler.err.no.zipfs.for.archive=\ |
39b67170b045
8153391: an image created for \"jdk.compiler\" fails to run javac
jlahoda
parents:
40502
diff
changeset
|
1982 |
No file system provider is available to handle this file: {0} |
39b67170b045
8153391: an image created for \"jdk.compiler\" fails to run javac
jlahoda
parents:
40502
diff
changeset
|
1983 |
|
10 | 1984 |
compiler.warn.div.zero=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1985 |
division by zero |
10 | 1986 |
|
1987 |
compiler.warn.empty.if=\ |
|
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
1988 |
empty statement after if |
10 | 1989 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1990 |
# 0: type, 1: name |
10 | 1991 |
compiler.warn.annotation.method.not.found=\ |
1992 |
Cannot find annotation method ''{1}()'' in type ''{0}'' |
|
1993 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1994 |
# 0: type, 1: name, 2: message segment |
10 | 1995 |
compiler.warn.annotation.method.not.found.reason=\ |
1996 |
Cannot find annotation method ''{1}()'' in type ''{0}'': {2} |
|
1997 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
1998 |
# 0: file object, 1: symbol, 2: name |
9603
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
1999 |
compiler.warn.unknown.enum.constant=\ |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
2000 |
unknown enum constant {1}.{2} |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
2001 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2002 |
# 0: file object, 1: symbol, 2: name, 3: message segment |
9603
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
2003 |
compiler.warn.unknown.enum.constant.reason=\ |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
2004 |
unknown enum constant {1}.{2}\n\ |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
2005 |
reason: {3} |
fa337b87574b
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents:
9077
diff
changeset
|
2006 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2007 |
# 0: type, 1: type |
1358 | 2008 |
compiler.warn.raw.class.use=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
2009 |
found raw type: {0}\n\ |
8045 | 2010 |
missing type arguments for generic class {1} |
1358 | 2011 |
|
7081
94cfc5b65bed
6939780: add a warning to detect diamond sites
mcimadamore
parents:
7072
diff
changeset
|
2012 |
compiler.warn.diamond.redundant.args=\ |
28142
32a6b1af81b1
8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents:
27991
diff
changeset
|
2013 |
Redundant type arguments in new expression (use diamond operator instead). |
32a6b1af81b1
8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents:
27991
diff
changeset
|
2014 |
|
47268
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
2015 |
compiler.warn.local.redundant.type=\ |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
2016 |
Redundant type for local variable (replace explicit type with ''var''). |
48ec75306997
8177466: Add compiler support for local variable type-inference
mcimadamore
parents:
47216
diff
changeset
|
2017 |
|
28142
32a6b1af81b1
8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents:
27991
diff
changeset
|
2018 |
compiler.warn.potential.lambda.found=\ |
32a6b1af81b1
8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents:
27991
diff
changeset
|
2019 |
This anonymous inner class creation can be turned into a lambda expression. |
32a6b1af81b1
8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents:
27991
diff
changeset
|
2020 |
|
32a6b1af81b1
8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents:
27991
diff
changeset
|
2021 |
compiler.warn.method.redundant.typeargs=\ |
32a6b1af81b1
8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents:
27991
diff
changeset
|
2022 |
Redundant type arguments in method call. |
32a6b1af81b1
8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents:
27991
diff
changeset
|
2023 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2024 |
# 0: symbol, 1: message segment |
7643
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
2025 |
compiler.warn.varargs.redundant.trustme.anno=\ |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
2026 |
Redundant {0} annotation. {1} |
a067a0cda531
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents:
7624
diff
changeset
|
2027 |
|
24219 | 2028 |
# 0: symbol |
41629 | 2029 |
compiler.warn.access.to.member.from.serializable.element=\ |
2030 |
access to member {0} from serializable element can be publicly accessible to untrusted code |
|
2031 |
||
2032 |
# 0: symbol |
|
2033 |
compiler.warn.access.to.member.from.serializable.lambda=\ |
|
2034 |
access to member {0} from serializable lambda can be publicly accessible to untrusted code |
|
24219 | 2035 |
|
10 | 2036 |
##### |
2037 |
||
2038 |
## The following are tokens which are non-terminals in the language. They should |
|
2039 |
## be named as JLS3 calls them when translated to the appropriate language. |
|
2040 |
compiler.misc.token.identifier=\ |
|
2041 |
<identifier> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2042 |
|
10 | 2043 |
compiler.misc.token.character=\ |
2044 |
<character> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2045 |
|
10 | 2046 |
compiler.misc.token.string=\ |
2047 |
<string> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2048 |
|
10 | 2049 |
compiler.misc.token.integer=\ |
2050 |
<integer> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2051 |
|
10 | 2052 |
compiler.misc.token.long-integer=\ |
2053 |
<long integer> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2054 |
|
10 | 2055 |
compiler.misc.token.float=\ |
2056 |
<float> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2057 |
|
10 | 2058 |
compiler.misc.token.double=\ |
2059 |
<double> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2060 |
|
10 | 2061 |
compiler.misc.token.bad-symbol=\ |
2062 |
<bad symbol> |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2063 |
|
10 | 2064 |
compiler.misc.token.end-of-input=\ |
2065 |
<end of input> |
|
2066 |
||
2067 |
## The argument to the following string will always be one of the following: |
|
2068 |
## 1. one of the above non-terminals |
|
2069 |
## 2. a keyword (JLS1.8) |
|
2070 |
## 3. a boolean literal (JLS3.10.3) |
|
2071 |
## 4. the null literal (JLS3.10.7) |
|
2072 |
## 5. a Java separator (JLS3.11) |
|
2073 |
## 6. an operator (JLS3.12) |
|
2074 |
## |
|
2075 |
## 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
|
2076 |
# 0: token |
10 | 2077 |
compiler.err.expected=\ |
2078 |
{0} expected |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2079 |
|
48721
ef3557eb4306
8196403: remove the remaining use of string keys for errors and warnings in the compiler
vromero
parents:
48608
diff
changeset
|
2080 |
# 0: string |
ef3557eb4306
8196403: remove the remaining use of string keys for errors and warnings in the compiler
vromero
parents:
48608
diff
changeset
|
2081 |
compiler.err.expected.str=\ |
ef3557eb4306
8196403: remove the remaining use of string keys for errors and warnings in the compiler
vromero
parents:
48608
diff
changeset
|
2082 |
{0} expected |
ef3557eb4306
8196403: remove the remaining use of string keys for errors and warnings in the compiler
vromero
parents:
48608
diff
changeset
|
2083 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2084 |
# 0: token, 1: token |
10 | 2085 |
compiler.err.expected2=\ |
2086 |
{0} or {1} expected |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2087 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2088 |
# 0: token, 1: token, 2: token |
10 | 2089 |
compiler.err.expected3=\ |
2090 |
{0}, {1}, or {2} expected |
|
2091 |
||
2092 |
compiler.err.premature.eof=\ |
|
2093 |
reached end of file while parsing |
|
2094 |
||
2095 |
## The following are related in form, but do not easily fit the above paradigm. |
|
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
2096 |
compiler.err.expected.module=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
2097 |
''module'' expected |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
2098 |
|
43584
63e67712246b
8166420: Confusing error message when reading bad module declaration
sadayapalam
parents:
43577
diff
changeset
|
2099 |
compiler.err.expected.module.or.open=\ |
63e67712246b
8166420: Confusing error message when reading bad module declaration
sadayapalam
parents:
43577
diff
changeset
|
2100 |
''module'' or ''open'' expected |
63e67712246b
8166420: Confusing error message when reading bad module declaration
sadayapalam
parents:
43577
diff
changeset
|
2101 |
|
10 | 2102 |
compiler.err.dot.class.expected=\ |
2103 |
''.class'' expected |
|
2104 |
||
2105 |
## 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
|
2106 |
# 0: token |
10 | 2107 |
compiler.err.orphaned=\ |
2108 |
orphaned {0} |
|
2109 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2110 |
# 0: name |
10 | 2111 |
compiler.misc.anonymous.class=\ |
2112 |
<anonymous {0}> |
|
2113 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2114 |
# 0: name, 1: type |
1357 | 2115 |
compiler.misc.type.captureof=\ |
2116 |
capture#{0} of {1} |
|
2117 |
||
2221
cd6557bcaa0a
6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents:
2085
diff
changeset
|
2118 |
compiler.misc.type.captureof.1=\ |
cd6557bcaa0a
6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents:
2085
diff
changeset
|
2119 |
capture#{0} |
cd6557bcaa0a
6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents:
2085
diff
changeset
|
2120 |
|
1357 | 2121 |
compiler.misc.type.none=\ |
2122 |
<none> |
|
2123 |
||
10 | 2124 |
compiler.misc.unnamed.package=\ |
2125 |
unnamed package |
|
2126 |
||
36526 | 2127 |
compiler.misc.unnamed.module=\ |
2128 |
unnamed module |
|
2129 |
||
10 | 2130 |
##### |
2131 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2132 |
# 0: symbol, 1: message segment |
10 | 2133 |
compiler.err.cant.access=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2134 |
cannot access {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2135 |
{1} |
10 | 2136 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
2137 |
# 0: name |
23790
0697e38017ec
6898851: Compiling against this corrupt class file causes a stacktrace from javac
pgovereau
parents:
23133
diff
changeset
|
2138 |
compiler.misc.bad.class.file=\ |
0697e38017ec
6898851: Compiling against this corrupt class file causes a stacktrace from javac
pgovereau
parents:
23133
diff
changeset
|
2139 |
class file is invalid for class {0} |
0697e38017ec
6898851: Compiling against this corrupt class file causes a stacktrace from javac
pgovereau
parents:
23133
diff
changeset
|
2140 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
2141 |
# 0: file name, 1: string (expected constant pool entry type), 2: number (constant pool index) |
24068 | 2142 |
compiler.misc.bad.const.pool.entry=\ |
2143 |
bad constant pool entry in {0}\n\ |
|
2144 |
expected {1} at index {2} |
|
2145 |
||
21006
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
2146 |
# 0: file name, 1: message segment |
10 | 2147 |
compiler.misc.bad.class.file.header=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2148 |
bad class file: {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2149 |
{1}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2150 |
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
|
2151 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2152 |
# 0: file name, 1: message segment |
169 | 2153 |
compiler.misc.bad.source.file.header=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2154 |
bad source file: {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2155 |
{1}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2156 |
Please remove or make sure it appears in the correct subdirectory of the sourcepath. |
10 | 2157 |
|
2158 |
## The following are all possible strings for the second argument ({1}) of the |
|
2159 |
## above strings. |
|
2160 |
compiler.misc.bad.class.signature=\ |
|
2161 |
bad class signature: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2162 |
|
9077
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
2163 |
#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
|
2164 |
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
|
2165 |
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
|
2166 |
|
6ee59e40b258
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents:
9076
diff
changeset
|
2167 |
# 0: symbol |
10 | 2168 |
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
|
2169 |
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
|
2170 |
|
10 | 2171 |
compiler.misc.bad.runtime.invisible.param.annotations=\ |
2172 |
bad RuntimeInvisibleParameterAnnotations attribute: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2173 |
|
10 | 2174 |
compiler.misc.bad.const.pool.tag=\ |
2175 |
bad constant pool tag: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2176 |
|
10 | 2177 |
compiler.misc.bad.const.pool.tag.at=\ |
2178 |
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
|
2179 |
|
10 | 2180 |
compiler.misc.bad.signature=\ |
2181 |
bad signature: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2182 |
|
15385 | 2183 |
compiler.misc.bad.type.annotation.value=\ |
2184 |
bad type annotation target type value: {0} |
|
2185 |
||
36526 | 2186 |
compiler.misc.bad.module-info.name=\ |
2187 |
bad class name |
|
2188 |
||
10 | 2189 |
compiler.misc.class.file.wrong.class=\ |
2190 |
class file contains wrong class: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2191 |
|
39361
cd0aca7db174
8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
38827
diff
changeset
|
2192 |
compiler.misc.module.info.invalid.super.class=\ |
cd0aca7db174
8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
38827
diff
changeset
|
2193 |
module-info with invalid super class |
cd0aca7db174
8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents:
38827
diff
changeset
|
2194 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2195 |
# 0: name |
10 | 2196 |
compiler.misc.class.file.not.found=\ |
2197 |
class file for {0} not found |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2198 |
|
42973
3795332b55c7
8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
cushon
parents:
42837
diff
changeset
|
2199 |
# 0: string (constant value), 1: symbol (constant field), 2: type (field type) |
3795332b55c7
8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
cushon
parents:
42837
diff
changeset
|
2200 |
compiler.misc.bad.constant.range=\ |
3795332b55c7
8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
cushon
parents:
42837
diff
changeset
|
2201 |
constant value ''{0}'' for {1} is outside the expected range for {2} |
3795332b55c7
8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
cushon
parents:
42837
diff
changeset
|
2202 |
|
3795332b55c7
8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
cushon
parents:
42837
diff
changeset
|
2203 |
# 0: string (constant value), 1: symbol (constant field), 2: string (expected class) |
3795332b55c7
8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
cushon
parents:
42837
diff
changeset
|
2204 |
compiler.misc.bad.constant.value=\ |
3795332b55c7
8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
cushon
parents:
42837
diff
changeset
|
2205 |
bad constant value ''{0}'' for {1}, expected {2} |
3795332b55c7
8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
cushon
parents:
42837
diff
changeset
|
2206 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
2207 |
# 0: string (classfile major version), 1: string (classfile minor version) |
21006
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
2208 |
compiler.misc.invalid.default.interface=\ |
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
2209 |
default method found in version {0}.{1} classfile |
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
2210 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
2211 |
# 0: string (classfile major version), 1: string (classfile minor version) |
21006
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
2212 |
compiler.misc.invalid.static.interface=\ |
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
2213 |
static method found in version {0}.{1} classfile |
534673718919
8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents:
20609
diff
changeset
|
2214 |
|
40502
59dadf1bedbe
8157512: AssertionError in javac when module-info < v53.0
sadayapalam
parents:
40501
diff
changeset
|
2215 |
# 0: string (classfile major version), 1: string (classfile minor version) |
59dadf1bedbe
8157512: AssertionError in javac when module-info < v53.0
sadayapalam
parents:
40501
diff
changeset
|
2216 |
compiler.misc.anachronistic.module.info=\ |
59dadf1bedbe
8157512: AssertionError in javac when module-info < v53.0
sadayapalam
parents:
40501
diff
changeset
|
2217 |
module declaration found in version {0}.{1} classfile |
59dadf1bedbe
8157512: AssertionError in javac when module-info < v53.0
sadayapalam
parents:
40501
diff
changeset
|
2218 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2219 |
# 0: name |
10 | 2220 |
compiler.misc.file.doesnt.contain.class=\ |
2221 |
file does not contain class {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2222 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2223 |
# 0: symbol |
10 | 2224 |
compiler.misc.file.does.not.contain.package=\ |
2225 |
file does not contain package {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2226 |
|
36526 | 2227 |
compiler.misc.file.does.not.contain.module=\ |
2228 |
file does not contain module declaration |
|
2229 |
||
10 | 2230 |
compiler.misc.illegal.start.of.class.file=\ |
2231 |
illegal start of class file |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2232 |
|
10 | 2233 |
compiler.misc.unable.to.access.file=\ |
2234 |
unable to access file: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2235 |
|
10 | 2236 |
compiler.misc.unicode.str.not.supported=\ |
2237 |
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
|
2238 |
|
10 | 2239 |
compiler.misc.undecl.type.var=\ |
2240 |
undeclared type variable: {0} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2241 |
|
29551
cad66be66e2e
8071847: java.lang.NullPointerException at com.sun.tools.javac.code.Types.elemtype(Types.java:1870)
sadayapalam
parents:
29293
diff
changeset
|
2242 |
compiler.misc.malformed.vararg.method=\ |
cad66be66e2e
8071847: java.lang.NullPointerException at com.sun.tools.javac.code.Types.elemtype(Types.java:1870)
sadayapalam
parents:
29293
diff
changeset
|
2243 |
class file contains malformed variable arity method: {0} |
cad66be66e2e
8071847: java.lang.NullPointerException at com.sun.tools.javac.code.Types.elemtype(Types.java:1870)
sadayapalam
parents:
29293
diff
changeset
|
2244 |
|
10 | 2245 |
compiler.misc.wrong.version=\ |
2246 |
class file has wrong version {0}.{1}, should be {2}.{3} |
|
2247 |
||
2248 |
##### |
|
2249 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2250 |
# 0: type, 1: type or symbol |
10 | 2251 |
compiler.err.not.within.bounds=\ |
8045 | 2252 |
type argument {0} is not within bounds of type-variable {1} |
10 | 2253 |
|
2254 |
## The following are all possible strings for the second argument ({1}) of the |
|
2255 |
## above string. |
|
2256 |
||
2257 |
## none yet... |
|
2258 |
||
2259 |
##### |
|
2260 |
||
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2261 |
# 0: message segment |
10 | 2262 |
compiler.err.prob.found.req=\ |
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
2263 |
incompatible types: {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2264 |
|
17582
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
2265 |
# 0: message segment |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
2266 |
compiler.misc.prob.found.req=\ |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
2267 |
incompatible types: {0} |
4079713129dd
8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents:
17578
diff
changeset
|
2268 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2269 |
# 0: message segment, 1: type, 2: type |
10 | 2270 |
compiler.warn.prob.found.req=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2271 |
{0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2272 |
required: {2}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2273 |
found: {1} |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2274 |
|
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
2275 |
# 0: type, 1: type |
10 | 2276 |
compiler.misc.inconvertible.types=\ |
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
2277 |
{0} cannot be converted to {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2278 |
|
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2279 |
# 0: type, 1: type |
10 | 2280 |
compiler.misc.possible.loss.of.precision=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2281 |
possible lossy conversion from {0} to {1} |
10 | 2282 |
|
2283 |
compiler.misc.unchecked.assign=\ |
|
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
2284 |
unchecked conversion |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2285 |
|
10 | 2286 |
# compiler.misc.storecheck=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
2287 |
# assignment might cause later store checks to fail |
10 | 2288 |
# compiler.misc.unchecked=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
2289 |
# assigned array cannot dynamically check its stores |
10 | 2290 |
compiler.misc.unchecked.cast.to.type=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
2291 |
unchecked cast |
10 | 2292 |
|
2293 |
# compiler.err.star.expected=\ |
|
2294 |
# ''*'' expected |
|
2295 |
# compiler.err.no.elem.type=\ |
|
2296 |
# \[\*\] cannot have a type |
|
2297 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2298 |
# 0: message segment |
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
2299 |
compiler.misc.try.not.applicable.to.type=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2300 |
try-with-resources not applicable to variable type\n\ |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2301 |
({0}) |
7211
163fe60f63de
6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents:
7203
diff
changeset
|
2302 |
|
10 | 2303 |
##### |
2304 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2305 |
# 0: object, 1: message segment |
10 | 2306 |
compiler.err.type.found.req=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2307 |
unexpected type\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2308 |
required: {1}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2309 |
found: {0} |
10 | 2310 |
|
2311 |
## The following are all possible strings for the first argument ({0}) of the |
|
2312 |
## above string. |
|
2313 |
compiler.misc.type.req.class=\ |
|
2314 |
class |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2315 |
|
10 | 2316 |
compiler.misc.type.req.class.array=\ |
2317 |
class or array |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2318 |
|
8045 | 2319 |
compiler.misc.type.req.array.or.iterable=\ |
2320 |
array or java.lang.Iterable |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2321 |
|
10 | 2322 |
compiler.misc.type.req.ref=\ |
2323 |
reference |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2324 |
|
10 | 2325 |
compiler.misc.type.req.exact=\ |
2326 |
class or interface without bounds |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2327 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2328 |
# 0: type |
10 | 2329 |
compiler.misc.type.parameter=\ |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2330 |
type parameter {0} |
10 | 2331 |
|
2332 |
##### |
|
2333 |
||
2334 |
## The following are all possible strings for the last argument of all those |
|
2335 |
## diagnostics whose key ends in ".1" |
|
12334
29e1bfdcba4e
7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents:
11707
diff
changeset
|
2336 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2337 |
# 0: type, 1: list of type |
10 | 2338 |
compiler.misc.no.unique.maximal.instance.exists=\ |
2339 |
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
|
2340 |
|
49872
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2341 |
# 0: type, 1: list of type |
10 | 2342 |
compiler.misc.no.unique.minimal.instance.exists=\ |
2343 |
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
|
2344 |
|
10628
dca7012223bc
7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents:
10626
diff
changeset
|
2345 |
# 0: type, 1: list of type |
dca7012223bc
7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents:
10626
diff
changeset
|
2346 |
compiler.misc.incompatible.upper.bounds=\ |
dca7012223bc
7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents:
10626
diff
changeset
|
2347 |
inference variable {0} has incompatible upper bounds {1} |
dca7012223bc
7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents:
10626
diff
changeset
|
2348 |
|
30014
fc1f2b200c1f
8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents:
29960
diff
changeset
|
2349 |
# 0: type, 1: list of type |
fc1f2b200c1f
8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents:
29960
diff
changeset
|
2350 |
compiler.misc.incompatible.eq.bounds=\ |
fc1f2b200c1f
8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents:
29960
diff
changeset
|
2351 |
inference variable {0} has incompatible equality constraints {1} |
fc1f2b200c1f
8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents:
29960
diff
changeset
|
2352 |
|
49872
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2353 |
# 0: type, 1: fragment, 2: fragment |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2354 |
compiler.misc.incompatible.bounds=\ |
30014
fc1f2b200c1f
8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents:
29960
diff
changeset
|
2355 |
inference variable {0} has incompatible bounds\n\ |
49872
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2356 |
{1}\n\ |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2357 |
{2} |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2358 |
|
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2359 |
# 0: list of type |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2360 |
compiler.misc.lower.bounds=\ |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2361 |
lower bounds: {0} |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2362 |
|
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2363 |
# 0: list of type |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2364 |
compiler.misc.eq.bounds=\ |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2365 |
equality constraints: {0} |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2366 |
|
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2367 |
# 0: list of type |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2368 |
compiler.misc.upper.bounds=\ |
0798eab12791
8201281: Truncated error message with Incompatible : null
vromero
parents:
49822
diff
changeset
|
2369 |
lower bounds: {0} |
14048
308d1cf8fe46
7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents:
13689
diff
changeset
|
2370 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2371 |
# 0: list of type, 1: type, 2: type |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2372 |
compiler.misc.infer.no.conforming.instance.exists=\ |
10 | 2373 |
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
|
2374 |
|
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2375 |
# 0: list of type, 1: message segment |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2376 |
compiler.misc.infer.no.conforming.assignment.exists=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2377 |
cannot infer type-variable(s) {0}\n\ |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2378 |
(argument mismatch; {1}) |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2379 |
|
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2380 |
# 0: list of type |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2381 |
compiler.misc.infer.arg.length.mismatch=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2382 |
cannot infer type-variable(s) {0}\n\ |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2383 |
(actual and formal argument lists differ in length) |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2384 |
|
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2385 |
# 0: list of type, 1: message segment |
11707
532f41763bc9
7129801: Merge the two method applicability routines
mcimadamore
parents:
11383
diff
changeset
|
2386 |
compiler.misc.infer.varargs.argument.mismatch=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2387 |
cannot infer type-variable(s) {0}\n\ |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2388 |
(varargs mismatch; {1}) |
11707
532f41763bc9
7129801: Merge the two method applicability routines
mcimadamore
parents:
11383
diff
changeset
|
2389 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2390 |
# 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
|
2391 |
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
|
2392 |
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
|
2393 |
inferred: {0}\n\ |
12468
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2394 |
upper bound(s): {1} |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2395 |
|
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2396 |
# 0: type, 1: list of type |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2397 |
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
|
2398 |
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
|
2399 |
inferred: {0}\n\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2400 |
lower bound(s): {1} |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2401 |
|
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2402 |
# 0: type, 1: list of type |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2403 |
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
|
2404 |
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
|
2405 |
inferred: {0}\n\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2406 |
equality constraints(s): {1} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2407 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2408 |
# 0: symbol |
5321
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
2409 |
compiler.misc.diamond=\ |
c8efe769cb3b
6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents:
5320
diff
changeset
|
2410 |
{0}<> |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2411 |
|
8431
21758b2bba40
7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents:
8428
diff
changeset
|
2412 |
# 0: type |
21758b2bba40
7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents:
8428
diff
changeset
|
2413 |
compiler.misc.diamond.non.generic=\ |
21758b2bba40
7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents:
8428
diff
changeset
|
2414 |
cannot use ''<>'' with non-generic class {0} |
21758b2bba40
7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents:
8428
diff
changeset
|
2415 |
|
29776
984a79b71cfe
8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents:
29551
diff
changeset
|
2416 |
# 0: list of type, 1: message segment |
984a79b71cfe
8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents:
29551
diff
changeset
|
2417 |
compiler.misc.diamond.invalid.arg=\ |
984a79b71cfe
8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents:
29551
diff
changeset
|
2418 |
type argument {0} inferred for {1} is not allowed in this context\n\ |
984a79b71cfe
8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents:
29551
diff
changeset
|
2419 |
inferred argument is not expressible in the Signature attribute |
984a79b71cfe
8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents:
29551
diff
changeset
|
2420 |
|
984a79b71cfe
8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents:
29551
diff
changeset
|
2421 |
# 0: list of type, 1: message segment |
984a79b71cfe
8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents:
29551
diff
changeset
|
2422 |
compiler.misc.diamond.invalid.args=\ |
984a79b71cfe
8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents:
29551
diff
changeset
|
2423 |
type arguments {0} inferred for {1} are not allowed in this context\n\ |
984a79b71cfe
8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents:
29551
diff
changeset
|
2424 |
inferred arguments are not expressible in the Signature attribute |
984a79b71cfe
8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents:
29551
diff
changeset
|
2425 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2426 |
# 0: type |
9604
d7152128d22f
7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents:
9603
diff
changeset
|
2427 |
compiler.misc.diamond.and.explicit.params=\ |
d7152128d22f
7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents:
9603
diff
changeset
|
2428 |
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
|
2429 |
|
19918
3bdf0c6b869c
8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents:
19914
diff
changeset
|
2430 |
compiler.misc.mref.infer.and.explicit.params=\ |
3bdf0c6b869c
8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents:
19914
diff
changeset
|
2431 |
cannot use raw constructor reference with explicit type parameters for constructor |
3bdf0c6b869c
8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents:
19914
diff
changeset
|
2432 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2433 |
# 0: type, 1: list of type |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2434 |
compiler.misc.explicit.param.do.not.conform.to.bounds=\ |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2435 |
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
|
2436 |
|
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2437 |
compiler.misc.arg.length.mismatch=\ |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2438 |
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
|
2439 |
|
41943
a4ee110842fb
8169093: Generics, javac not matching actual and formal arguments.
mcimadamore
parents:
41942
diff
changeset
|
2440 |
# 0: string |
a4ee110842fb
8169093: Generics, javac not matching actual and formal arguments.
mcimadamore
parents:
41942
diff
changeset
|
2441 |
compiler.misc.wrong.number.type.args=\ |
a4ee110842fb
8169093: Generics, javac not matching actual and formal arguments.
mcimadamore
parents:
41942
diff
changeset
|
2442 |
wrong number of type arguments; required {0} |
a4ee110842fb
8169093: Generics, javac not matching actual and formal arguments.
mcimadamore
parents:
41942
diff
changeset
|
2443 |
|
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2444 |
# 0: message segment |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2445 |
compiler.misc.no.conforming.assignment.exists=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2446 |
argument mismatch; {0} |
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2447 |
|
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2448 |
# 0: message segment |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2449 |
compiler.misc.varargs.argument.mismatch=\ |
13438
83729994273a
7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents:
12915
diff
changeset
|
2450 |
varargs mismatch; {0} |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2451 |
|
10 | 2452 |
##### |
2453 |
||
17578 | 2454 |
# 0: symbol or type, 1: file name |
14369
3d660d08d1f7
7153951: Add new lint option -Xlint:auxiliaryclass
ohrstrom
parents:
14267
diff
changeset
|
2455 |
compiler.warn.auxiliary.class.accessed.from.outside.of.its.source.file=\ |
3d660d08d1f7
7153951: Add new lint option -Xlint:auxiliaryclass
ohrstrom
parents:
14267
diff
changeset
|
2456 |
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
|
2457 |
|
10 | 2458 |
## The first argument ({0}) is a "kindname". |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2459 |
# 0: kind name, 1: symbol, 2: symbol |
10 | 2460 |
compiler.err.abstract.cant.be.accessed.directly=\ |
2461 |
abstract {0} {1} in {2} cannot be accessed directly |
|
2462 |
||
2463 |
## 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
|
2464 |
# 0: symbol kind, 1: symbol |
10 | 2465 |
compiler.err.non-static.cant.be.ref=\ |
2466 |
non-static {0} {1} cannot be referenced from a static context |
|
2467 |
||
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2468 |
# 0: symbol kind, 1: symbol |
28456
b87fdde1404d
8068995: Cleanup method reference lookup code
mcimadamore
parents:
28334
diff
changeset
|
2469 |
compiler.misc.bad.static.method.in.unbound.lookup=\ |
b87fdde1404d
8068995: Cleanup method reference lookup code
mcimadamore
parents:
28334
diff
changeset
|
2470 |
unexpected static {0} {1} found in unbound lookup |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2471 |
|
16323
c4409c235642
8008537: Missing method reference lookup error when unbound search finds a static method
mcimadamore
parents:
16320
diff
changeset
|
2472 |
# 0: symbol kind, 1: symbol |
28456
b87fdde1404d
8068995: Cleanup method reference lookup code
mcimadamore
parents:
28334
diff
changeset
|
2473 |
compiler.misc.bad.instance.method.in.unbound.lookup=\ |
b87fdde1404d
8068995: Cleanup method reference lookup code
mcimadamore
parents:
28334
diff
changeset
|
2474 |
unexpected instance {0} {1} found in unbound lookup |
b87fdde1404d
8068995: Cleanup method reference lookup code
mcimadamore
parents:
28334
diff
changeset
|
2475 |
|
b87fdde1404d
8068995: Cleanup method reference lookup code
mcimadamore
parents:
28334
diff
changeset
|
2476 |
# 0: symbol kind, 1: symbol |
b87fdde1404d
8068995: Cleanup method reference lookup code
mcimadamore
parents:
28334
diff
changeset
|
2477 |
compiler.misc.bad.static.method.in.bound.lookup=\ |
b87fdde1404d
8068995: Cleanup method reference lookup code
mcimadamore
parents:
28334
diff
changeset
|
2478 |
unexpected static {0} {1} found in bound lookup |
16323
c4409c235642
8008537: Missing method reference lookup error when unbound search finds a static method
mcimadamore
parents:
16320
diff
changeset
|
2479 |
|
10 | 2480 |
## Both arguments ({0}, {1}) are "kindname"s. {0} is a comma-separated list |
2481 |
## of kindnames (the list should be identical to that provided in source. |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2482 |
# 0: set of kind name, 1: set of kind name |
10 | 2483 |
compiler.err.unexpected.type=\ |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2484 |
unexpected type\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2485 |
required: {0}\n\ |
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2486 |
found: {1} |
10 | 2487 |
|
14058
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
2488 |
compiler.err.unexpected.lambda=\ |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
2489 |
lambda expression not expected here |
c7ec7facdd20
7177385: Add attribution support for lambda expressions
mcimadamore
parents:
14057
diff
changeset
|
2490 |
|
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2491 |
compiler.err.unexpected.mref=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2492 |
method reference not expected here |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2493 |
|
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2494 |
## 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
|
2495 |
## 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
|
2496 |
## 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
|
2497 |
## The fourth argument {3} is a list of argument types (non-empty if {1} is a method) |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2498 |
# 0: kind name, 1: name, 2: unused, 3: unused |
10 | 2499 |
compiler.err.cant.resolve=\ |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2500 |
cannot find symbol\n\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2501 |
symbol: {0} {1} |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2502 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2503 |
# 0: kind name, 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
|
2504 |
compiler.err.cant.resolve.args=\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2505 |
cannot find symbol\n\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2506 |
symbol: {0} {1}({3}) |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2507 |
|
50086
66b0f0134aad
8194998: broken error message for subclass of interface with private method
vromero
parents:
49872
diff
changeset
|
2508 |
# 0: kind name, 1: name, 2: unused, 3: list of type |
66b0f0134aad
8194998: broken error message for subclass of interface with private method
vromero
parents:
49872
diff
changeset
|
2509 |
compiler.misc.cant.resolve.args=\ |
66b0f0134aad
8194998: broken error message for subclass of interface with private method
vromero
parents:
49872
diff
changeset
|
2510 |
cannot find symbol\n\ |
66b0f0134aad
8194998: broken error message for subclass of interface with private method
vromero
parents:
49872
diff
changeset
|
2511 |
symbol: {0} {1}({3}) |
66b0f0134aad
8194998: broken error message for subclass of interface with private method
vromero
parents:
49872
diff
changeset
|
2512 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2513 |
# 0: kind name, 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
|
2514 |
compiler.err.cant.resolve.args.params=\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2515 |
cannot find symbol\n\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2516 |
symbol: {0} <{2}>{1}({3}) |
10 | 2517 |
|
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2518 |
## arguments from {0} to {3} have the same meaning as above |
8045 | 2519 |
## The fifth argument {4} is a location subdiagnostic (see below) |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2520 |
# 0: kind name, 1: name, 2: unused, 3: unused, 4: message segment |
10 | 2521 |
compiler.err.cant.resolve.location=\ |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2522 |
cannot find symbol\n\ |
2085
4792e12a8ca2
6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents:
1996
diff
changeset
|
2523 |
symbol: {0} {1}\n\ |
8045 | 2524 |
location: {4} |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2525 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2526 |
# 0: kind name, 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
|
2527 |
compiler.err.cant.resolve.location.args=\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2528 |
cannot find symbol\n\ |
2085
4792e12a8ca2
6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents:
1996
diff
changeset
|
2529 |
symbol: {0} {1}({3})\n\ |
8045 | 2530 |
location: {4} |
939
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2531 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2532 |
# 0: kind name, 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
|
2533 |
compiler.err.cant.resolve.location.args.params=\ |
38e24969c7e9
6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents:
735
diff
changeset
|
2534 |
cannot find symbol\n\ |
2085
4792e12a8ca2
6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents:
1996
diff
changeset
|
2535 |
symbol: {0} <{2}>{1}({3})\n\ |
8045 | 2536 |
location: {4} |
2537 |
||
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2538 |
### Following are replicated/used for method reference diagnostics |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2539 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2540 |
# 0: kind name, 1: name, 2: unused, 3: list of type, 4: message segment |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2541 |
compiler.misc.cant.resolve.location.args=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2542 |
cannot find symbol\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2543 |
symbol: {0} {1}({3})\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2544 |
location: {4} |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2545 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2546 |
# 0: kind name, 1: name, 2: list of type, 3: list, 4: message segment |
14062
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2547 |
compiler.misc.cant.resolve.location.args.params=\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2548 |
cannot find symbol\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2549 |
symbol: {0} <{2}>{1}({3})\n\ |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2550 |
location: {4} |
b7439971a094
7177386: Add attribution support for method references
mcimadamore
parents:
14058
diff
changeset
|
2551 |
|
8045 | 2552 |
##a location subdiagnostic is composed as follows: |
2553 |
## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.) |
|
2554 |
## The second argument {1} is the location name |
|
2555 |
## The third argument {2} is the location type (only when {1} is a variable name) |
|
2556 |
||
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2557 |
# 0: kind name, 1: type or symbol, 2: unused |
8045 | 2558 |
compiler.misc.location=\ |
2559 |
{0} {1} |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2560 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2561 |
# 0: kind name, 1: symbol, 2: type |
8045 | 2562 |
compiler.misc.location.1=\ |
2563 |
{0} {1} of type {2} |
|
10 | 2564 |
|
2565 |
## The following are all possible string for "kindname". |
|
2566 |
## They should be called whatever the JLS calls them after it been translated |
|
2567 |
## to the appropriate language. |
|
2568 |
# compiler.misc.kindname.constructor=\ |
|
2569 |
# static member |
|
2570 |
compiler.misc.kindname.annotation=\ |
|
2571 |
@interface |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2572 |
|
10 | 2573 |
compiler.misc.kindname.constructor=\ |
2574 |
constructor |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2575 |
|
6031
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
2576 |
compiler.misc.kindname.enum=\ |
50004868a787
6964768: need test program to validate javac resource bundles
jjg
parents:
5848
diff
changeset
|
2577 |
enum |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2578 |
|
10 | 2579 |
compiler.misc.kindname.interface=\ |
2580 |
interface |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2581 |
|
10 | 2582 |
compiler.misc.kindname.static=\ |
2583 |
static |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2584 |
|
10 | 2585 |
compiler.misc.kindname.type.variable=\ |
2586 |
type variable |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2587 |
|
10 | 2588 |
compiler.misc.kindname.type.variable.bound=\ |
2589 |
bound of type variable |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2590 |
|
10 | 2591 |
compiler.misc.kindname.variable=\ |
2592 |
variable |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2593 |
|
10 | 2594 |
compiler.misc.kindname.value=\ |
2595 |
value |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2596 |
|
10 | 2597 |
compiler.misc.kindname.method=\ |
2598 |
method |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2599 |
|
10 | 2600 |
compiler.misc.kindname.class=\ |
2601 |
class |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2602 |
|
10 | 2603 |
compiler.misc.kindname.package=\ |
2604 |
package |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2605 |
|
36526 | 2606 |
compiler.misc.kindname.module=\ |
2607 |
module |
|
2608 |
||
10626
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2609 |
compiler.misc.kindname.static.init=\ |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2610 |
static initializer |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2611 |
|
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2612 |
compiler.misc.kindname.instance.init=\ |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2613 |
instance initializer |
83f0c2860f5b
7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents:
10199
diff
changeset
|
2614 |
|
51563
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2615 |
# the following are names of tree kinds: |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2616 |
compiler.misc.tree.tag.forloop=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2617 |
for |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2618 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2619 |
compiler.misc.tree.tag.foreachloop=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2620 |
for |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2621 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2622 |
compiler.misc.tree.tag.whileloop=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2623 |
while |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2624 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2625 |
compiler.misc.tree.tag.doloop=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2626 |
do |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2627 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2628 |
compiler.misc.tree.tag.switch=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2629 |
switch |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2630 |
|
10 | 2631 |
##### |
2632 |
||
1534
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
1358
diff
changeset
|
2633 |
compiler.misc.no.args=\ |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
1358
diff
changeset
|
2634 |
no arguments |
e923a41e84cc
6758789: Some method resolution diagnostic should be improved
mcimadamore
parents:
1358
diff
changeset
|
2635 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2636 |
# 0: message segment |
10 | 2637 |
compiler.err.override.static=\ |
3560 | 2638 |
{0}\n\ |
2639 |
overriding method is static |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2640 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2641 |
# 0: message segment, 1: set of flag |
10 | 2642 |
compiler.err.override.meth=\ |
3560 | 2643 |
{0}\n\ |
2644 |
overridden method is {1} |
|
10 | 2645 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2646 |
# 0: message segment, 1: type |
10 | 2647 |
compiler.err.override.meth.doesnt.throw=\ |
3560 | 2648 |
{0}\n\ |
2649 |
overridden method does not throw {1} |
|
10 | 2650 |
|
2651 |
# In the following string {1} is a space separated list of Java Keywords, as |
|
2652 |
# they would have been declared in the source code |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2653 |
# 0: message segment, 1: set of flag or string |
10 | 2654 |
compiler.err.override.weaker.access=\ |
3560 | 2655 |
{0}\n\ |
2656 |
attempting to assign weaker access privileges; was {1} |
|
2657 |
||
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2658 |
# 0: message segment, 1: type, 2: type |
3560 | 2659 |
compiler.err.override.incompatible.ret=\ |
2660 |
{0}\n\ |
|
2661 |
return type {1} is not compatible with {2} |
|
10 | 2662 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2663 |
# 0: message segment, 1: type, 2: type |
3560 | 2664 |
compiler.warn.override.unchecked.ret=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
2665 |
{0}\n\ |
3560 | 2666 |
return type requires unchecked conversion from {1} to {2} |
10 | 2667 |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2668 |
# 0: message segment, 1: type |
3560 | 2669 |
compiler.warn.override.unchecked.thrown=\ |
6151
dd513881e71d
6957438: improve code for generating warning messages containing option names
jjg
parents:
6148
diff
changeset
|
2670 |
{0}\n\ |
3560 | 2671 |
overridden method does not throw {1} |
10 | 2672 |
|
16333 | 2673 |
# 0: symbol |
16301
b6fd735ea78e
6563143: javac should issue a warning for overriding equals without hashCode
vromero
parents:
16294
diff
changeset
|
2674 |
compiler.warn.override.equals.but.not.hashcode=\ |
16320
92ba27b7aaf3
8008436: javac should not issue a warning for overriding equals without hasCode if hashCode has been overriden by a superclass
vromero
parents:
16316
diff
changeset
|
2675 |
Class {0} overrides equals, but neither it nor any superclass overrides hashCode method |
16301
b6fd735ea78e
6563143: javac should issue a warning for overriding equals without hashCode
vromero
parents:
16294
diff
changeset
|
2676 |
|
10 | 2677 |
## The following are all possible strings for the first argument ({0}) of the |
2678 |
## above strings. |
|
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2679 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2680 |
compiler.misc.cant.override=\ |
2681 |
{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
|
2682 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2683 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
33713
dc1d2632935c
8139255: javac reports "cannot override" messages instead of "cannot hide" messages for static methods
sadayapalam
parents:
30069
diff
changeset
|
2684 |
compiler.misc.cant.hide=\ |
dc1d2632935c
8139255: javac reports "cannot override" messages instead of "cannot hide" messages for static methods
sadayapalam
parents:
30069
diff
changeset
|
2685 |
{0} in {1} cannot hide {2} in {3} |
dc1d2632935c
8139255: javac reports "cannot override" messages instead of "cannot hide" messages for static methods
sadayapalam
parents:
30069
diff
changeset
|
2686 |
|
dc1d2632935c
8139255: javac reports "cannot override" messages instead of "cannot hide" messages for static methods
sadayapalam
parents:
30069
diff
changeset
|
2687 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2688 |
compiler.misc.cant.implement=\ |
2689 |
{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
|
2690 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2691 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2692 |
compiler.misc.clashes.with=\ |
2693 |
{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
|
2694 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2695 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2696 |
compiler.misc.unchecked.override=\ |
2697 |
{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
|
2698 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2699 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2700 |
compiler.misc.unchecked.implement=\ |
2701 |
{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
|
2702 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2703 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2704 |
compiler.misc.unchecked.clash.with=\ |
2705 |
{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
|
2706 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2707 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2708 |
compiler.misc.varargs.override=\ |
2709 |
{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
|
2710 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2711 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2712 |
compiler.misc.varargs.implement=\ |
2713 |
{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
|
2714 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2715 |
# 0: symbol, 1: symbol, 2: symbol, 3: symbol |
10 | 2716 |
compiler.misc.varargs.clash.with=\ |
2717 |
{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
|
2718 |
|
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2719 |
# 0: kind name, 1: symbol, 2: symbol, 3: message segment |
6710
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2720 |
compiler.misc.inapplicable.method=\ |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2721 |
{0} {1}.{2} is not applicable\n\ |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2722 |
({3}) |
b14e6fe7b290
5088624: cannot find symbol message should be more intelligent
mcimadamore
parents:
6592
diff
changeset
|
2723 |
|
10 | 2724 |
######################################## |
48054
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2725 |
# Diagnostics for language feature changes. |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2726 |
# Such diagnostics have a common template which can be customized by using a feature |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2727 |
# diagnostic fragment (one of those given below). |
10 | 2728 |
######################################## |
36526 | 2729 |
|
48054
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2730 |
# 0: message segment (feature), 1: string (found version), 2: string (expected version) |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2731 |
compiler.err.feature.not.supported.in.source=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2732 |
{0} is not supported in -source {1}\n\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2733 |
(use -source {2} or higher to enable {0}) |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2734 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2735 |
# 0: message segment (feature), 1: string (found version), 2: string (expected version) |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2736 |
compiler.err.feature.not.supported.in.source.plural=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2737 |
{0} are not supported in -source {1}\n\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2738 |
(use -source {2} or higher to enable {0}) |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2739 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2740 |
# 0: message segment (feature), 1: string (found version), 2: string (expected version) |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2741 |
compiler.misc.feature.not.supported.in.source=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2742 |
{0} is not supported in -source {1}\n\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2743 |
(use -source {2} or higher to enable {0}) |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2744 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2745 |
# 0: message segment (feature), 1: string (found version), 2: string (expected version) |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2746 |
compiler.misc.feature.not.supported.in.source.plural=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2747 |
{0} are not supported in -source {1}\n\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2748 |
(use -source {2} or higher to enable {0}) |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2749 |
|
49580
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2750 |
# 0: message segment (feature) |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2751 |
compiler.err.preview.feature.disabled=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2752 |
{0} is a preview feature and is disabled by default.\n\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2753 |
(use --enable-preview to enable {0}) |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2754 |
|
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2755 |
# 0: message segment (feature) |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2756 |
compiler.err.preview.feature.disabled.plural=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2757 |
{0} are a preview feature and are disabled by default.\n\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2758 |
(use --enable-preview to enable {0}) |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2759 |
|
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2760 |
# 0: file object (classfile), 1: string (expected version) |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2761 |
compiler.err.preview.feature.disabled.classfile=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2762 |
classfile for {0} uses preview features of Java SE {1}.\n\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2763 |
(use --enable-preview to allow loading of classfiles which contain preview features) |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2764 |
|
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2765 |
# 0: message segment (feature) |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2766 |
compiler.warn.preview.feature.use=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2767 |
{0} is a preview feature and may be removed in a future release. |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2768 |
|
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2769 |
# 0: message segment (feature) |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2770 |
compiler.warn.preview.feature.use.plural=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2771 |
{0} are a preview feature and may be removed in a future release. |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2772 |
|
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2773 |
# 0: file object (classfile), 1: string (expected version) |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2774 |
compiler.warn.preview.feature.use.classfile=\ |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2775 |
classfile for {0} uses preview features of Java SE {1}. |
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2776 |
|
62b908c9f0e6
8199194: Add javac support for preview features
mcimadamore
parents:
49543
diff
changeset
|
2777 |
|
48054
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2778 |
compiler.misc.feature.modules=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2779 |
modules |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2780 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2781 |
compiler.misc.feature.diamond.and.anon.class=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2782 |
''<>'' with anonymous inner classes |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2783 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2784 |
compiler.misc.feature.var.in.try.with.resources=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2785 |
variables in try-with-resources |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2786 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2787 |
compiler.misc.feature.type.annotations=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2788 |
type annotations |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2789 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2790 |
compiler.misc.feature.annotations.after.type.params=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2791 |
annotations after method type parameters |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2792 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2793 |
compiler.misc.feature.repeatable.annotations=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2794 |
repeated annotations |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2795 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2796 |
compiler.misc.feature.diamond=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2797 |
diamond operator |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2798 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2799 |
compiler.misc.feature.lambda=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2800 |
lambda expressions |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2801 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2802 |
compiler.misc.feature.method.references=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2803 |
method references |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2804 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2805 |
compiler.misc.feature.default.methods=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2806 |
default methods |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2807 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2808 |
compiler.misc.feature.intersection.types.in.cast=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2809 |
intersection types |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2810 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2811 |
compiler.misc.feature.static.intf.methods=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2812 |
static interface methods |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2813 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2814 |
compiler.misc.feature.static.intf.method.invoke=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2815 |
static interface method invocations |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2816 |
|
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2817 |
compiler.misc.feature.private.intf.methods=\ |
702043a4cdeb
8189749: Devise strategy for making source level checks more uniform
mcimadamore
parents:
47934
diff
changeset
|
2818 |
private interface methods |
27844
8b5d79870a2f
7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents:
27387
diff
changeset
|
2819 |
|
51563
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2820 |
compiler.misc.feature.multiple.case.labels=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2821 |
multiple case labels |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2822 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2823 |
compiler.misc.feature.switch.rules=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2824 |
switch rules |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2825 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2826 |
compiler.misc.feature.switch.expressions=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2827 |
switch expressions |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
2828 |
|
15367 | 2829 |
compiler.warn.underscore.as.identifier=\ |
27991
8f4b68523da3
8061549: Disallow _ as a one-character identifier
jlahoda
parents:
27844
diff
changeset
|
2830 |
as of release 9, ''_'' is a keyword, and may not be used as an identifier |
8f4b68523da3
8061549: Disallow _ as a one-character identifier
jlahoda
parents:
27844
diff
changeset
|
2831 |
|
8f4b68523da3
8061549: Disallow _ as a one-character identifier
jlahoda
parents:
27844
diff
changeset
|
2832 |
compiler.err.underscore.as.identifier=\ |
8f4b68523da3
8061549: Disallow _ as a one-character identifier
jlahoda
parents:
27844
diff
changeset
|
2833 |
as of release 9, ''_'' is a keyword, and may not be used as an identifier |
15367 | 2834 |
|
20609
dce669916b62
8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents:
19918
diff
changeset
|
2835 |
compiler.err.underscore.as.identifier.in.lambda=\ |
dce669916b62
8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents:
19918
diff
changeset
|
2836 |
''_'' used as an identifier\n\ |
dce669916b62
8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents:
19918
diff
changeset
|
2837 |
(use of ''_'' as an identifier is forbidden for lambda parameters) |
dce669916b62
8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents:
19918
diff
changeset
|
2838 |
|
10 | 2839 |
compiler.err.enum.as.identifier=\ |
25445
603f0c93d5c9
8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents:
25283
diff
changeset
|
2840 |
as of release 5, ''enum'' is a keyword, and may not be used as an identifier |
10 | 2841 |
|
2842 |
compiler.err.assert.as.identifier=\ |
|
25445
603f0c93d5c9
8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents:
25283
diff
changeset
|
2843 |
as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier |
10 | 2844 |
|
15385 | 2845 |
# TODO 308: make a better error message |
2846 |
compiler.err.this.as.identifier=\ |
|
49543
2d5d75263e77
8199744: Incorrect compiler message for ReceiverParameter in inner class constructor
vromero
parents:
49429
diff
changeset
|
2847 |
as of release 8, ''this'' is allowed as the parameter name for the receiver type only\n\ |
2d5d75263e77
8199744: Incorrect compiler message for ReceiverParameter in inner class constructor
vromero
parents:
49429
diff
changeset
|
2848 |
which has to be the first parameter, and cannot be a lambda parameter |
15385 | 2849 |
|
17578 | 2850 |
compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\ |
2851 |
receiver parameter not applicable for constructor of top-level class |
|
2852 |
||
15385 | 2853 |
# TODO 308: make a better error message |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2854 |
# 0: annotation |
21041 | 2855 |
compiler.err.cant.type.annotate.scoping.1=\ |
2856 |
scoping construct cannot be annotated with type-use annotation: {0} |
|
17578 | 2857 |
|
15385 | 2858 |
# TODO 308: make a better error message |
45504
ea7475564d07
8170326: Inconsistencies between code, compiler.properties and comments
jlahoda
parents:
45500
diff
changeset
|
2859 |
# 0: list of annotation |
21041 | 2860 |
compiler.err.cant.type.annotate.scoping=\ |
2861 |
scoping construct cannot be annotated with type-use annotations: {0} |
|
15385 | 2862 |
|
17578 | 2863 |
# 0: type, 1: type |
2864 |
compiler.err.incorrect.receiver.name=\ |
|
2865 |
the receiver name does not match the enclosing class type\n\ |
|
2866 |
required: {0}\n\ |
|
2867 |
found: {1} |
|
2868 |
||
2869 |
# 0: type, 1: type |
|
15385 | 2870 |
compiler.err.incorrect.receiver.type=\ |
17578 | 2871 |
the receiver type does not match the enclosing class type\n\ |
2872 |
required: {0}\n\ |
|
2873 |
found: {1} |
|
2874 |
||
2875 |
# 0: type, 1: type |
|
2876 |
compiler.err.incorrect.constructor.receiver.type=\ |
|
2877 |
the receiver type does not match the enclosing outer class type\n\ |
|
2878 |
required: {0}\n\ |
|
2879 |
found: {1} |
|
2880 |
||
2881 |
# 0: type, 1: type |
|
2882 |
compiler.err.incorrect.constructor.receiver.name=\ |
|
2883 |
the receiver name does not match the enclosing outer class type\n\ |
|
2884 |
required: {0}\n\ |
|
2885 |
found: {1} |
|
15385 | 2886 |
|
2887 |
compiler.err.no.annotations.on.dot.class=\ |
|
2888 |
no annotations are allowed in the type of a class literal |
|
2889 |
||
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2890 |
######################################## |
10816
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2891 |
# Diagnostics for verbose resolution |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2892 |
# used by Resolve (debug only) |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2893 |
######################################## |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2894 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2895 |
# 0: number, 1: symbol, 2: unused |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2896 |
compiler.misc.applicable.method.found=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2897 |
#{0} applicable method found: {1} |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2898 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2899 |
# 0: number, 1: symbol, 2: message segment |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2900 |
compiler.misc.applicable.method.found.1=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2901 |
#{0} applicable method found: {1}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2902 |
({2}) |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2903 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2904 |
# 0: number, 1: symbol, 2: message segment |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2905 |
compiler.misc.not.applicable.method.found=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2906 |
#{0} not applicable method found: {1}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2907 |
({2}) |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2908 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2909 |
# 0: type |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2910 |
compiler.misc.partial.inst.sig=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2911 |
partially instantiated to: {0} |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2912 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
2913 |
# 0: name, 1: symbol, 2: number, 3: string (method resolution phase), 4: list of type or message segment, 5: list of type or message segment |
10816
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2914 |
compiler.note.verbose.resolve.multi=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2915 |
resolving method {0} in type {1} to candidate {2}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2916 |
phase: {3}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2917 |
with actuals: {4}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2918 |
with type-args: {5}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2919 |
candidates: |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2920 |
|
28334
1633de6070ae
8058542: Devise scheme for better diagnostic creation
mcimadamore
parents:
28142
diff
changeset
|
2921 |
# 0: name, 1: symbol, 2: unused, 3: string (method resolution phase), 4: list of type or message segment, 5: list of type or message segment |
10816
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2922 |
compiler.note.verbose.resolve.multi.1=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2923 |
erroneous resolution for method {0} in type {1}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2924 |
phase: {3}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2925 |
with actuals: {4}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2926 |
with type-args: {5}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2927 |
candidates: |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2928 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2929 |
# 0: symbol, 1: type, 2: type |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2930 |
compiler.note.deferred.method.inst=\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2931 |
Deferred instantiation of method {0}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2932 |
instantiated signature: {1}\n\ |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2933 |
target-type: {2} |
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2934 |
|
ce8a7e9d8882
7098660: Write better overload resolution/inference tests
mcimadamore
parents:
10637
diff
changeset
|
2935 |
######################################## |
49429 | 2936 |
# Diagnostics for lambda deduplication |
2937 |
# used by LambdaToMethod (debug only) |
|
2938 |
######################################## |
|
2939 |
||
2940 |
# 0: symbol |
|
2941 |
compiler.note.verbose.l2m.deduplicate=\ |
|
2942 |
deduplicating lambda implementation method {0} |
|
2943 |
||
2944 |
######################################## |
|
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2945 |
# Diagnostics for where clause implementation |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2946 |
# used by the RichDiagnosticFormatter. |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2947 |
######################################## |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2948 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2949 |
compiler.misc.type.null=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2950 |
<null> |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2951 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2952 |
# 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
|
2953 |
# 0: name, 1: number |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2954 |
compiler.misc.type.var=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2955 |
{0}#{1} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2956 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2957 |
# 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
|
2958 |
# 0: number |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2959 |
compiler.misc.captured.type=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2960 |
CAP#{0} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2961 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2962 |
# <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
|
2963 |
# 0: number |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2964 |
compiler.misc.intersection.type=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2965 |
INT#{0} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2966 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2967 |
# 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
|
2968 |
# ('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
|
2969 |
# 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
|
2970 |
compiler.misc.where.captured=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2971 |
{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
|
2972 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2973 |
# 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
|
2974 |
# 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
|
2975 |
# 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
|
2976 |
compiler.misc.where.captured.1=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2977 |
{0} extends {1} from capture of {3} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2978 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2979 |
# 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
|
2980 |
# 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
|
2981 |
# 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
|
2982 |
compiler.misc.where.typevar=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2983 |
{0} extends {1} declared in {2} {3} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2984 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2985 |
# 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
|
2986 |
# 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
|
2987 |
# 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
|
2988 |
compiler.misc.where.typevar.1=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2989 |
{0} declared in {2} {3} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2990 |
|
12468
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2991 |
# 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
|
2992 |
# 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
|
2993 |
# 0: type, 1: list of type |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2994 |
compiler.misc.where.fresh.typevar=\ |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2995 |
{0} extends {1} |
1100643c0209
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents:
12466
diff
changeset
|
2996 |
|
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
2997 |
# 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
|
2998 |
# of this intersection type |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
2999 |
# 0: type, 1: list of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3000 |
compiler.misc.where.intersection=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3001 |
{0} extends {1} |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3002 |
|
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3003 |
### Where clause headers ### |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3004 |
compiler.misc.where.description.captured=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3005 |
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
|
3006 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
3007 |
# 0: set of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3008 |
compiler.misc.where.description.typevar=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3009 |
where {0} is a type-variable: |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
3010 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
3011 |
# 0: set of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3012 |
compiler.misc.where.description.intersection=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3013 |
where {0} is an intersection type: |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
3014 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
3015 |
# 0: set of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3016 |
compiler.misc.where.description.captured.1=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3017 |
where {0} are fresh type-variables: |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
3018 |
|
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
3019 |
# 0: set of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3020 |
compiler.misc.where.description.typevar.1=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3021 |
where {0} are type-variables: |
8226
8c2fd7e7bcf3
7013272: Automatically generate info about how compiler resource keys are used
jjg
parents:
8224
diff
changeset
|
3022 |
|
30014
fc1f2b200c1f
8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents:
29960
diff
changeset
|
3023 |
# 0: set of type |
2984
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3024 |
compiler.misc.where.description.intersection.1=\ |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3025 |
where {0} are intersection types: |
e15ff3a34054
6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents:
2723
diff
changeset
|
3026 |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3027 |
### |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3028 |
# errors related to doc comments |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3029 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3030 |
compiler.err.dc.bad.entity=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3031 |
bad HTML entity |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3032 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3033 |
compiler.err.dc.bad.gt=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3034 |
bad use of ''>'' |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3035 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3036 |
compiler.err.dc.bad.inline.tag=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3037 |
incorrect use of inline tag |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3038 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3039 |
compiler.err.dc.identifier.expected=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3040 |
identifier expected |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3041 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3042 |
compiler.err.dc.malformed.html=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3043 |
malformed HTML |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3044 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3045 |
compiler.err.dc.missing.semicolon=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3046 |
semicolon missing |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3047 |
|
14952 | 3048 |
compiler.err.dc.no.content=\ |
3049 |
no content |
|
3050 |
||
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3051 |
compiler.err.dc.no.tag.name=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3052 |
no tag name after '@' |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3053 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3054 |
compiler.err.dc.gt.expected=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3055 |
''>'' expected |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3056 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3057 |
compiler.err.dc.ref.bad.parens=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3058 |
'')'' missing in reference |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3059 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3060 |
compiler.err.dc.ref.syntax.error=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3061 |
syntax error in reference |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3062 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3063 |
compiler.err.dc.ref.unexpected.input=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3064 |
unexpected text |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3065 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3066 |
compiler.err.dc.unexpected.content=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3067 |
unexpected content |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3068 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3069 |
compiler.err.dc.unterminated.inline.tag=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3070 |
unterminated inline tag |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3071 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3072 |
compiler.err.dc.unterminated.signature=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3073 |
unterminated signature |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3074 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3075 |
compiler.err.dc.unterminated.string=\ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3076 |
unterminated string |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
14443
diff
changeset
|
3077 |
|
36526 | 3078 |
### |
3079 |
# errors related to modules |
|
3080 |
||
3081 |
compiler.err.expected.module=\ |
|
3082 |
expected ''module'' |
|
3083 |
||
3084 |
# 0: symbol |
|
3085 |
compiler.err.module.not.found=\ |
|
3086 |
module not found: {0} |
|
3087 |
||
42822
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42408
diff
changeset
|
3088 |
# 0: symbol |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42408
diff
changeset
|
3089 |
compiler.warn.module.not.found=\ |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42408
diff
changeset
|
3090 |
module not found: {0} |
a84956e7ee4d
8170987: Module system implementation refresh (12/2016)
alanb
parents:
42408
diff
changeset
|
3091 |
|
36526 | 3092 |
compiler.err.too.many.modules=\ |
3093 |
too many module declarations found |
|
3094 |
||
43267 | 3095 |
compiler.err.module.not.found.on.module.source.path=\ |
3096 |
module not found on module source path |
|
3097 |
||
3098 |
compiler.err.not.in.module.on.module.source.path=\ |
|
3099 |
not in a module on the module source path |
|
3100 |
||
36526 | 3101 |
# 0: symbol |
3102 |
compiler.err.duplicate.module=\ |
|
3103 |
duplicate module: {0} |
|
3104 |
||
3105 |
# 0: symbol |
|
3106 |
compiler.err.duplicate.requires=\ |
|
3107 |
duplicate requires: {0} |
|
3108 |
||
3109 |
# 0: symbol |
|
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3110 |
compiler.err.conflicting.exports=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3111 |
duplicate or conflicting exports: {0} |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3112 |
|
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3113 |
# 0: symbol |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3114 |
compiler.err.conflicting.opens=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3115 |
duplicate or conflicting opens: {0} |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3116 |
|
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3117 |
# 0: symbol |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3118 |
compiler.err.conflicting.exports.to.module=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3119 |
duplicate or conflicting exports to module: {0} |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3120 |
|
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3121 |
# 0: symbol |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3122 |
compiler.err.conflicting.opens.to.module=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3123 |
duplicate or conflicting opens to module: {0} |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3124 |
|
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3125 |
compiler.err.no.opens.unless.strong=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3126 |
''opens'' only allowed in strong modules |
36526 | 3127 |
|
43577
1a1b1242f7aa
8172807: Javac doesn't report errors on duplicate provides with different service implementations
jjg
parents:
43270
diff
changeset
|
3128 |
# 0: symbol |
1a1b1242f7aa
8172807: Javac doesn't report errors on duplicate provides with different service implementations
jjg
parents:
43270
diff
changeset
|
3129 |
compiler.err.repeated.provides.for.service=\ |
1a1b1242f7aa
8172807: Javac doesn't report errors on duplicate provides with different service implementations
jjg
parents:
43270
diff
changeset
|
3130 |
multiple ''provides'' for service {0} |
1a1b1242f7aa
8172807: Javac doesn't report errors on duplicate provides with different service implementations
jjg
parents:
43270
diff
changeset
|
3131 |
|
36526 | 3132 |
# 0: symbol, 1: symbol |
3133 |
compiler.err.duplicate.provides=\ |
|
3134 |
duplicate provides: service {0}, implementation {1} |
|
3135 |
||
3136 |
# 0: symbol |
|
3137 |
compiler.err.duplicate.uses=\ |
|
3138 |
duplicate uses: {0} |
|
3139 |
||
3140 |
# 0: symbol |
|
3141 |
compiler.err.service.implementation.is.abstract=\ |
|
3142 |
the service implementation is an abstract class: {0} |
|
3143 |
||
38827
884d32899770
8152062: obscure error message for bad 'provides'
vromero
parents:
38519
diff
changeset
|
3144 |
compiler.err.service.implementation.must.be.subtype.of.service.interface=\ |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3145 |
the service implementation type must be a subtype of the service interface type, or \ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3146 |
have a public static no-args method named "provider" returning the service implementation |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3147 |
|
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3148 |
compiler.err.service.implementation.provider.return.must.be.subtype.of.service.interface=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3149 |
the "provider" method return type must be a subtype of the service interface type |
38827
884d32899770
8152062: obscure error message for bad 'provides'
vromero
parents:
38519
diff
changeset
|
3150 |
|
36526 | 3151 |
# 0: symbol |
3152 |
compiler.err.service.implementation.is.inner=\ |
|
3153 |
the service implementation is an inner class: {0} |
|
3154 |
||
3155 |
# 0: symbol |
|
37854
a76a06106d02
8153268: javac accepts enums being referenced by 'uses' statement
vromero
parents:
36713
diff
changeset
|
3156 |
compiler.err.service.definition.is.enum=\ |
a76a06106d02
8153268: javac accepts enums being referenced by 'uses' statement
vromero
parents:
36713
diff
changeset
|
3157 |
the service definition is an enum: {0} |
a76a06106d02
8153268: javac accepts enums being referenced by 'uses' statement
vromero
parents:
36713
diff
changeset
|
3158 |
|
a76a06106d02
8153268: javac accepts enums being referenced by 'uses' statement
vromero
parents:
36713
diff
changeset
|
3159 |
# 0: symbol |
36526 | 3160 |
compiler.err.service.implementation.doesnt.have.a.no.args.constructor=\ |
3161 |
the service implementation does not have a default constructor: {0} |
|
3162 |
||
3163 |
# 0: symbol |
|
3164 |
compiler.err.service.implementation.no.args.constructor.not.public=\ |
|
3165 |
the no arguments constructor of the service implementation is not public: {0} |
|
3166 |
||
3167 |
# 0: symbol |
|
3168 |
compiler.err.package.empty.or.not.found=\ |
|
3169 |
package is empty or does not exist: {0} |
|
3170 |
||
43588
6a0e0ea0e93b
8172901: javac: 'opens' statement cannot specify non observable package
jjg
parents:
43584
diff
changeset
|
3171 |
# 0: symbol |
6a0e0ea0e93b
8172901: javac: 'opens' statement cannot specify non observable package
jjg
parents:
43584
diff
changeset
|
3172 |
compiler.warn.package.empty.or.not.found=\ |
6a0e0ea0e93b
8172901: javac: 'opens' statement cannot specify non observable package
jjg
parents:
43584
diff
changeset
|
3173 |
package is empty or does not exist: {0} |
6a0e0ea0e93b
8172901: javac: 'opens' statement cannot specify non observable package
jjg
parents:
43584
diff
changeset
|
3174 |
|
36526 | 3175 |
compiler.err.no.output.dir=\ |
3176 |
no class output directory specified |
|
3177 |
||
3178 |
compiler.err.unnamed.pkg.not.allowed.named.modules=\ |
|
3179 |
unnamed package is not allowed in named modules |
|
3180 |
||
3181 |
# 0: name, 1: name |
|
3182 |
compiler.err.module.name.mismatch=\ |
|
3183 |
module name {0} does not match expected name {1} |
|
3184 |
||
41254
08f8dbf7741e
8152911: javac assertion error when compiling overlay sources
jlahoda
parents:
40762
diff
changeset
|
3185 |
# 0: name, 1: name |
08f8dbf7741e
8152911: javac assertion error when compiling overlay sources
jlahoda
parents:
40762
diff
changeset
|
3186 |
compiler.misc.module.name.mismatch=\ |
08f8dbf7741e
8152911: javac assertion error when compiling overlay sources
jlahoda
parents:
40762
diff
changeset
|
3187 |
module name {0} does not match expected name {1} |
08f8dbf7741e
8152911: javac assertion error when compiling overlay sources
jlahoda
parents:
40762
diff
changeset
|
3188 |
|
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3189 |
# 0: name |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3190 |
compiler.err.module.non.zero.opens=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3191 |
open module {0} has non-zero opens_count |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3192 |
|
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3193 |
# 0: name |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3194 |
compiler.misc.module.non.zero.opens=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3195 |
open module {0} has non-zero opens_count |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3196 |
|
36526 | 3197 |
compiler.err.module.decl.sb.in.module-info.java=\ |
3198 |
module declarations should be in a file named module-info.java |
|
3199 |
||
43772
4e5350b7be75
8173777: Merge javac -Xmodule into javac--patch-module
jlahoda
parents:
43756
diff
changeset
|
3200 |
# 0: set of string |
4e5350b7be75
8173777: Merge javac -Xmodule into javac--patch-module
jlahoda
parents:
43756
diff
changeset
|
3201 |
compiler.err.too.many.patched.modules=\ |
4e5350b7be75
8173777: Merge javac -Xmodule into javac--patch-module
jlahoda
parents:
43756
diff
changeset
|
3202 |
too many patched modules ({0}), use --module-source-path |
4e5350b7be75
8173777: Merge javac -Xmodule into javac--patch-module
jlahoda
parents:
43756
diff
changeset
|
3203 |
|
4e5350b7be75
8173777: Merge javac -Xmodule into javac--patch-module
jlahoda
parents:
43756
diff
changeset
|
3204 |
# 0: name, 1: name |
4e5350b7be75
8173777: Merge javac -Xmodule into javac--patch-module
jlahoda
parents:
43756
diff
changeset
|
3205 |
compiler.err.file.patched.and.msp=\ |
4e5350b7be75
8173777: Merge javac -Xmodule into javac--patch-module
jlahoda
parents:
43756
diff
changeset
|
3206 |
file accessible from both --patch-module and --module-source-path, \ |
4e5350b7be75
8173777: Merge javac -Xmodule into javac--patch-module
jlahoda
parents:
43756
diff
changeset
|
3207 |
but belongs to a different module on each path: {0}, {1} |
36526 | 3208 |
|
3209 |
compiler.err.processorpath.no.processormodulepath=\ |
|
40762
f8883aa0053c
8160851: Remove old launcher module-related options
mchung
parents:
40513
diff
changeset
|
3210 |
illegal combination of -processorpath and --processor-module-path |
36526 | 3211 |
|
3212 |
# 0: symbol |
|
3213 |
compiler.err.package.in.other.module=\ |
|
3214 |
package exists in another module: {0} |
|
3215 |
||
3216 |
# 0: symbol, 1: name, 2: symbol, 3: symbol |
|
3217 |
compiler.err.package.clash.from.requires=\ |
|
3218 |
module {0} reads package {1} from both {2} and {3} |
|
3219 |
||
45682
fc3b228b9e2a
8181087: Module system implementation refresh (6/2017)
alanb
parents:
45156
diff
changeset
|
3220 |
# 0: name, 1: symbol, 2: symbol |
fc3b228b9e2a
8181087: Module system implementation refresh (6/2017)
alanb
parents:
45156
diff
changeset
|
3221 |
compiler.err.package.clash.from.requires.in.unnamed=\ |
fc3b228b9e2a
8181087: Module system implementation refresh (6/2017)
alanb
parents:
45156
diff
changeset
|
3222 |
the unnamed module reads package {0} from both {1} and {2} |
fc3b228b9e2a
8181087: Module system implementation refresh (6/2017)
alanb
parents:
45156
diff
changeset
|
3223 |
|
36526 | 3224 |
# 0: string |
3225 |
compiler.err.module.not.found.in.module.source.path=\ |
|
3226 |
module {0} not found in module source path |
|
3227 |
||
3228 |
compiler.err.output.dir.must.be.specified.with.dash.m.option=\ |
|
3229 |
class output directory must be specified if -m option is used |
|
3230 |
||
3231 |
compiler.err.modulesourcepath.must.be.specified.with.dash.m.option=\ |
|
3232 |
module source path must be specified if -m option is used |
|
3233 |
||
3234 |
# 0: symbol |
|
3235 |
compiler.err.service.implementation.not.in.right.module=\ |
|
3236 |
service implementation must be defined in the same module as the provides directive |
|
3237 |
||
3238 |
# 0: symbol |
|
3239 |
compiler.err.cyclic.requires=\ |
|
3240 |
cyclic dependence involving {0} |
|
3241 |
||
3242 |
# 0: fragment, 1: name |
|
3243 |
compiler.err.duplicate.module.on.path=\ |
|
3244 |
duplicate module on {0}\nmodule in {1} |
|
3245 |
||
41938
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41932
diff
changeset
|
3246 |
# 0: option name, 1: string |
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41932
diff
changeset
|
3247 |
compiler.warn.bad.name.for.option=\ |
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41932
diff
changeset
|
3248 |
bad name in value for {0} option: ''{1}'' |
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41932
diff
changeset
|
3249 |
|
42269
24a766b7c106
8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
jjg
parents:
41943
diff
changeset
|
3250 |
# 0: option name, 1: string |
24a766b7c106
8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
jjg
parents:
41943
diff
changeset
|
3251 |
compiler.err.bad.name.for.option=\ |
24a766b7c106
8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
jjg
parents:
41943
diff
changeset
|
3252 |
bad name in value for {0} option: ''{1}'' |
24a766b7c106
8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
jjg
parents:
41943
diff
changeset
|
3253 |
|
41938
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41932
diff
changeset
|
3254 |
# 0: option name, 1: symbol |
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41932
diff
changeset
|
3255 |
compiler.warn.module.for.option.not.found=\ |
8e66bf10fcec
8167975: align javac --add-* modules options with launcher
jjg
parents:
41932
diff
changeset
|
3256 |
module name in {0} option not found: {1} |
36526 | 3257 |
|
3258 |
compiler.err.addmods.all.module.path.invalid=\ |
|
40762
f8883aa0053c
8160851: Remove old launcher module-related options
mchung
parents:
40513
diff
changeset
|
3259 |
--add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module |
36526 | 3260 |
|
45156
001f73134346
8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
jlahoda
parents:
44822
diff
changeset
|
3261 |
# 0: symbol |
001f73134346
8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
jlahoda
parents:
44822
diff
changeset
|
3262 |
compiler.err.add.exports.with.release=\ |
001f73134346
8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
jlahoda
parents:
44822
diff
changeset
|
3263 |
exporting a package from system module {0} is not allowed with --release |
001f73134346
8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
jlahoda
parents:
44822
diff
changeset
|
3264 |
|
001f73134346
8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
jlahoda
parents:
44822
diff
changeset
|
3265 |
# 0: symbol |
001f73134346
8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
jlahoda
parents:
44822
diff
changeset
|
3266 |
compiler.err.add.reads.with.release=\ |
001f73134346
8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
jlahoda
parents:
44822
diff
changeset
|
3267 |
adding read edges for system module {0} is not allowed with --release |
001f73134346
8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
jlahoda
parents:
44822
diff
changeset
|
3268 |
|
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3269 |
compiler.warn.addopens.ignored=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3270 |
--add-opens has no effect at compile time |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3271 |
|
36526 | 3272 |
compiler.misc.locn.module_source_path=\ |
3273 |
module source path |
|
3274 |
||
3275 |
compiler.misc.locn.upgrade_module_path=\ |
|
3276 |
upgrade module path |
|
3277 |
||
3278 |
compiler.misc.locn.system_modules=\ |
|
3279 |
system modules |
|
3280 |
||
3281 |
compiler.misc.locn.module_path=\ |
|
3282 |
application module path |
|
3283 |
||
3284 |
compiler.misc.cant.resolve.modules=\ |
|
3285 |
cannot resolve modules |
|
3286 |
||
48427
b08405cc467a
8193125: javac should not compile a module if it requires java.base with modifiers
jjg
parents:
48054
diff
changeset
|
3287 |
compiler.misc.bad.requires.flag=\ |
b08405cc467a
8193125: javac should not compile a module if it requires java.base with modifiers
jjg
parents:
48054
diff
changeset
|
3288 |
bad requires flag: {0} |
b08405cc467a
8193125: javac should not compile a module if it requires java.base with modifiers
jjg
parents:
48054
diff
changeset
|
3289 |
|
36526 | 3290 |
# 0: string |
3291 |
compiler.err.invalid.module.specifier=\ |
|
3292 |
module specifier not allowed: {0} |
|
3293 |
||
3294 |
# 0: symbol |
|
3295 |
compiler.warn.service.provided.but.not.exported.or.used=\ |
|
3296 |
service interface provided but not exported or used |
|
3297 |
||
41444
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3298 |
# 0: kind name, 1: symbol, 2: symbol |
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3299 |
compiler.warn.leaks.not.accessible=\ |
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3300 |
{0} {1} in module {2} is not accessible to clients that require this module |
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3301 |
# 0: kind name, 1: symbol, 2: symbol |
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3302 |
compiler.warn.leaks.not.accessible.unexported=\ |
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3303 |
{0} {1} in module {2} is not exported |
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3304 |
# 0: kind name, 1: symbol, 2: symbol |
42407
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3305 |
compiler.warn.leaks.not.accessible.not.required.transitive=\ |
f3702cff2933
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41943
diff
changeset
|
3306 |
{0} {1} in module {2} is not indirectly exported using 'requires transitive' |
41444
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3307 |
# 0: kind name, 1: symbol, 2: symbol |
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3308 |
compiler.warn.leaks.not.accessible.unexported.qualified=\ |
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3309 |
{0} {1} in module {2} may not be visible to all clients that require this module |
b61c805c6173
8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents:
41254
diff
changeset
|
3310 |
|
36526 | 3311 |
### |
3312 |
# errors related to options |
|
3313 |
||
3314 |
# 0: string, 1: string |
|
3315 |
compiler.err.illegal.argument.for.option=\ |
|
3316 |
illegal argument for {0}: {1} |
|
49822
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3317 |
|
51563
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
3318 |
compiler.err.switch.null.not.allowed=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
3319 |
null label in case is not allowed |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
3320 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
3321 |
compiler.err.switch.case.unexpected.statement=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
3322 |
unexpected statement in case, expected is an expression, a block or a throw statement |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
3323 |
|
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
3324 |
compiler.err.switch.mixing.case.types=\ |
de411d537aae
8206986: Compiler support for Switch Expressions (Preview)
jlahoda
parents:
51047
diff
changeset
|
3325 |
different case kinds used in the switch |
49822
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3326 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3327 |
############################################ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3328 |
# messages previouly at javac.properties |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3329 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3330 |
compiler.err.empty.A.argument=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3331 |
-A requires an argument; use ''-Akey'' or ''-Akey=value'' |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3332 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3333 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3334 |
compiler.err.invalid.A.key=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3335 |
key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3336 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3337 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3338 |
compiler.err.invalid.flag=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3339 |
invalid flag: {0} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3340 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3341 |
compiler.err.profile.bootclasspath.conflict=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3342 |
profile and bootclasspath options cannot be used together |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3343 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3344 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3345 |
compiler.err.invalid.profile=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3346 |
invalid profile: {0} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3347 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3348 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3349 |
compiler.err.invalid.target=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3350 |
invalid target release: {0} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3351 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3352 |
# 0: option name, 1: target |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3353 |
compiler.err.option.not.allowed.with.target=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3354 |
option {0} not allowed with target {1} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3355 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3356 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3357 |
compiler.err.option.too.many=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3358 |
option {0} can only be specified once |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3359 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3360 |
compiler.err.no.source.files=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3361 |
no source files |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3362 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3363 |
compiler.err.no.source.files.classes=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3364 |
no source files or class names |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3365 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3366 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3367 |
compiler.err.req.arg=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3368 |
{0} requires an argument |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3369 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3370 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3371 |
compiler.err.invalid.source=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3372 |
invalid source release: {0} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3373 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3374 |
# 0: string, 1: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3375 |
compiler.err.error.writing.file=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3376 |
error writing {0}; {1} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3377 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3378 |
compiler.err.sourcepath.modulesourcepath.conflict=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3379 |
cannot specify both --source-path and --module-source-path |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3380 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3381 |
# 0: string, 1: target |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3382 |
compiler.warn.source.target.conflict=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3383 |
source release {0} requires target release {1} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3384 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3385 |
# 0: string, 1: target |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3386 |
compiler.warn.target.default.source.conflict=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3387 |
target release {0} conflicts with default source release {1} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3388 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3389 |
# 0: profile, 1: target |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3390 |
compiler.warn.profile.target.conflict=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3391 |
profile {0} is not valid for target release {1} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3392 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3393 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3394 |
compiler.err.file.not.directory=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3395 |
not a directory: {0} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3396 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3397 |
# 0: object |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3398 |
compiler.err.file.not.file=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3399 |
not a file: {0} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3400 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3401 |
compiler.err.two.class.loaders.1=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3402 |
javac is split between multiple class loaders: check your configuration |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3403 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3404 |
# 0: url, 1: url |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3405 |
compiler.err.two.class.loaders.2=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3406 |
javac is split between multiple class loaders:\n\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3407 |
one class comes from file: {0}\n\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3408 |
while javac comes from {1} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3409 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3410 |
# 0: string, 1: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3411 |
compiler.err.bad.value.for.option=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3412 |
bad value for {0} option: ''{1}'' |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3413 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3414 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3415 |
compiler.err.no.value.for.option=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3416 |
no value for {0} option |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3417 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3418 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3419 |
compiler.err.repeated.value.for.patch.module=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3420 |
--patch-module specified more than once for {0} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3421 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3422 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3423 |
compiler.err.unmatched.quote=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3424 |
unmatched quote in environment variable {0} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3425 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3426 |
# 0: option name |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3427 |
compiler.err.release.bootclasspath.conflict=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3428 |
option {0} cannot be used together with --release |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3429 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3430 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3431 |
compiler.err.unsupported.release.version=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3432 |
release version {0} not supported |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3433 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3434 |
# 0: string |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3435 |
compiler.err.file.not.found=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3436 |
file not found: {0} |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3437 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3438 |
# 0: string, 1: source |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3439 |
compiler.err.preview.not.latest=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3440 |
invalid source release {0} with --enable-preview\n\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3441 |
(preview language features are only supported for release {1}) |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3442 |
|
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3443 |
compiler.err.preview.without.source.or.release=\ |
53aae0c219e6
8196433: use the new error diagnostic approach at javac.Main
vromero
parents:
49580
diff
changeset
|
3444 |
--enable-preview must be used with either -source or --release |