< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties

Print this page




 171 compiler.err.array.dimension.missing=\
 172     array dimension missing
 173 
 174 compiler.err.illegal.array.creation.both.dimension.and.initialization=\
 175     array creation with both dimension expression and initialization is illegal
 176 
 177 # 0: type
 178 compiler.err.array.req.but.found=\
 179     array required, but {0} found
 180 
 181 compiler.err.attribute.value.must.be.constant=\
 182     element value must be a constant expression
 183 
 184 # 0: string (statement type)
 185 compiler.err.bad.initializer=\
 186     bad initializer for {0}
 187 
 188 compiler.err.break.outside.switch.loop=\
 189     break outside switch or loop
 190 



 191 compiler.err.break.outside.switch.expression=\
 192     attempt to break out of a switch expression
 193 
 194 compiler.err.continue.outside.switch.expression=\
 195     attempt to continue out of a switch expression
 196 
 197 compiler.err.return.outside.switch.expression=\
 198     attempt to return out of a switch expression
 199 
 200 compiler.err.rule.completes.normally=\
 201     switch rule completes without providing a value\n\
 202     (switch rules in switch expressions must either provide a value or throw)
 203 
 204 compiler.err.switch.expression.completes.normally=\
 205     switch expression completes without providing a value\n\
 206     (switch expressions must either provide a value or throw for all possible input values)
 207 
 208 compiler.err.no.switch.expression =\
 209     yield outside of switch expression






 210 
 211 compiler.err.no.switch.expression.qualify=\
 212     yield outside of switch expression\n\
 213     (to invoke a method called yield, qualify the yield with a receiver or type name)
 214 
 215 compiler.err.invalid.yield=\
 216     invalid use of a restricted identifier ''yield''\n\
 217     (to invoke a method called yield, qualify the yield with a receiver or type name)
 218 
 219 compiler.warn.invalid.yield=\
 220     ''yield'' may become a restricted identifier in a future release\n\
 221     (to invoke a method called yield, qualify the yield with a receiver or type name)
 222 
 223 compiler.err.switch.expression.empty=\
 224     switch expression does not have any case clauses
 225 
 226 # 0: name
 227 compiler.err.call.must.be.first.stmt.in.ctor=\
 228     call to {0} must be first statement in constructor
 229 
 230 # 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
 231 compiler.err.cant.apply.symbol=\
 232     {0} {1} in {4} {5} cannot be applied to given types;\n\
 233     required: {2}\n\
 234     found:    {3}\n\
 235     reason: {6}
 236 
 237 # 0: symbol kind, 1: name, 2: list of type
 238 compiler.err.cant.apply.symbols=\
 239     no suitable {0} found for {1}({2})
 240 
 241 # 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


 606 compiler.warn.forward.ref=\
 607     reference to variable ''{0}'' before it has been initialized
 608 
 609 compiler.err.illegal.self.ref=\
 610     self-reference in initializer
 611 
 612 # 0: symbol
 613 compiler.warn.self.ref=\
 614     self-reference in initializer of variable ''{0}''
 615 
 616 compiler.err.illegal.generic.type.for.instof=\
 617     illegal generic type for instanceof
 618 
 619 # 0: type
 620 compiler.err.illegal.initializer.for.type=\
 621     illegal initializer for {0}
 622 
 623 compiler.err.illegal.line.end.in.char.lit=\
 624     illegal line end in character literal
 625 
 626 compiler.err.illegal.text.block.open=\
 627     illegal text block open delimiter sequence, missing line terminator
 628 
 629 compiler.warn.inconsistent.white.space.indentation=\
 630     inconsistent white space indentation
 631 
 632 compiler.warn.trailing.white.space.will.be.removed=\
 633     trailing white space will be removed
 634 
 635 compiler.err.illegal.nonascii.digit=\
 636     illegal non-ASCII digit
 637 
 638 compiler.err.illegal.underscore=\
 639     illegal underscore
 640 
 641 compiler.err.illegal.dot=\
 642     illegal ''.''
 643 
 644 # 0: symbol
 645 compiler.err.illegal.qual.not.icls=\
 646     illegal qualifier; {0} is not an inner class
 647 
 648 compiler.err.illegal.start.of.expr=\
 649     illegal start of expression
 650 
 651 compiler.err.illegal.start.of.stmt=\
 652     illegal start of statement
 653 
 654 compiler.err.illegal.start.of.type=\


1236     bad type qualifier {0} in default super call\n\
1237     {1}
1238 
1239 # 0: symbol, 1: type
1240 compiler.misc.overridden.default=\
1241     method {0} is overridden in {1}
1242 
1243 # 0: symbol, 1: type or symbol
1244 compiler.misc.redundant.supertype=\
1245     redundant interface {0} is extended by {1}
1246 
1247 compiler.err.unclosed.char.lit=\
1248     unclosed character literal
1249 
1250 compiler.err.unclosed.comment=\
1251     unclosed comment
1252 
1253 compiler.err.unclosed.str.lit=\
1254     unclosed string literal
1255 
1256 compiler.err.unclosed.text.block=\
1257     unclosed text block
1258 
1259 # 0: string
1260 compiler.err.unsupported.encoding=\
1261     unsupported encoding: {0}
1262 
1263 compiler.err.io.exception=\
1264     error reading source file: {0}
1265 
1266 # 0: name
1267 compiler.err.undef.label=\
1268     undefined label: {0}
1269 
1270 # 0: name
1271 compiler.err.illegal.ref.to.restricted.type=\
1272     illegal reference to restricted type ''{0}''
1273 
1274 # 0: name
1275 compiler.warn.illegal.ref.to.restricted.type=\
1276     illegal reference to restricted type ''{0}''
1277 
1278 # 0: name, 1: source
1279 compiler.err.restricted.type.not.allowed=\
1280     ''{0}'' not allowed here\n\
1281     as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations
1282 
1283 # 0: name, 1: source
1284 compiler.warn.restricted.type.not.allowed=\
1285     as of release {1}, ''{0}'' is a restricted type name and cannot be used for type declarations or as the element type of an array
1286 
1287 # 0: name, 1: source
1288 compiler.warn.restricted.type.not.allowed.preview=\
1289     ''{0}'' may become a restricted type name in a future release and may be unusable for type declarations or as the element type of an array
1290 
1291 # 0: name (variable), 1: message segment
1292 compiler.err.cant.infer.local.var.type=\
1293     cannot infer type for local variable {0}\n\
1294     ({1})
1295 
1296 # 0: name
1297 compiler.err.restricted.type.not.allowed.here=\
1298     ''{0}'' is not allowed here
1299 
1300 # 0: name
1301 compiler.err.restricted.type.not.allowed.array=\
1302     ''{0}'' is not allowed as an element type of an array
1303 
1304 # 0: name
1305 compiler.err.restricted.type.not.allowed.compound=\
1306     ''{0}'' is not allowed in a compound declaration
1307 
1308 # 0: fragment
1309 compiler.err.invalid.lambda.parameter.declaration=\
1310     invalid lambda parameter declaration\n\
1311     ({0})
1312 
1313 compiler.misc.implicit.and.explicit.not.allowed=\
1314     cannot mix implicitly-typed and explicitly-typed parameters
1315 
1316 compiler.misc.var.and.explicit.not.allowed=\
1317     cannot mix ''var'' and explicitly-typed parameters
1318 
1319 compiler.misc.var.and.implicit.not.allowed=\
1320     cannot mix ''var'' and implicitly-typed parameters
1321 
1322 compiler.misc.local.cant.infer.null=\
1323     variable initializer is ''null''
1324 
1325 compiler.misc.local.cant.infer.void=\
1326     variable initializer is ''void''


2663     value
2664 
2665 compiler.misc.kindname.method=\
2666     method
2667 
2668 compiler.misc.kindname.class=\
2669     class
2670 
2671 compiler.misc.kindname.package=\
2672     package
2673 
2674 compiler.misc.kindname.module=\
2675     module
2676 
2677 compiler.misc.kindname.static.init=\
2678     static initializer
2679 
2680 compiler.misc.kindname.instance.init=\
2681     instance initializer
2682 
















2683 #####
2684 
2685 compiler.misc.no.args=\
2686     no arguments
2687 
2688 # 0: message segment
2689 compiler.err.override.static=\
2690     {0}\n\
2691     overriding method is static
2692 
2693 # 0: message segment, 1: set of flag
2694 compiler.err.override.meth=\
2695     {0}\n\
2696     overridden method is {1}
2697 
2698 # 0: message segment, 1: type
2699 compiler.err.override.meth.doesnt.throw=\
2700     {0}\n\
2701     overridden method does not throw {1}
2702 


2851 compiler.misc.feature.lambda=\
2852     lambda expressions
2853 
2854 compiler.misc.feature.method.references=\
2855     method references
2856 
2857 compiler.misc.feature.default.methods=\
2858     default methods
2859 
2860 compiler.misc.feature.intersection.types.in.cast=\
2861     intersection types
2862 
2863 compiler.misc.feature.static.intf.methods=\
2864     static interface methods
2865 
2866 compiler.misc.feature.static.intf.method.invoke=\
2867     static interface method invocations
2868 
2869 compiler.misc.feature.private.intf.methods=\
2870     private interface methods
2871 
2872 compiler.misc.feature.text.blocks=\
2873     text blocks
2874 
2875 compiler.misc.feature.multiple.case.labels=\
2876     multiple case labels
2877 
2878 compiler.misc.feature.switch.rules=\
2879     switch rules
2880 
2881 compiler.misc.feature.switch.expressions=\
2882     switch expressions
2883 
2884 compiler.misc.feature.var.syntax.in.implicit.lambda=\
2885     var syntax in implicit lambdas
2886 
2887 compiler.warn.underscore.as.identifier=\
2888     as of release 9, ''_'' is a keyword, and may not be used as an identifier
2889 
2890 compiler.err.underscore.as.identifier=\
2891     as of release 9, ''_'' is a keyword, and may not be used as an identifier
2892 
2893 compiler.err.underscore.as.identifier.in.lambda=\




 171 compiler.err.array.dimension.missing=\
 172     array dimension missing
 173 
 174 compiler.err.illegal.array.creation.both.dimension.and.initialization=\
 175     array creation with both dimension expression and initialization is illegal
 176 
 177 # 0: type
 178 compiler.err.array.req.but.found=\
 179     array required, but {0} found
 180 
 181 compiler.err.attribute.value.must.be.constant=\
 182     element value must be a constant expression
 183 
 184 # 0: string (statement type)
 185 compiler.err.bad.initializer=\
 186     bad initializer for {0}
 187 
 188 compiler.err.break.outside.switch.loop=\
 189     break outside switch or loop
 190 
 191 compiler.err.break.missing.value=\
 192     missing break value
 193 
 194 compiler.err.break.outside.switch.expression=\
 195     break outside of enclosing switch expression
 196 
 197 compiler.err.continue.outside.switch.expression=\
 198     continue outside of enclosing switch expression
 199 
 200 compiler.err.return.outside.switch.expression=\
 201     return outside of enclosing switch expression
 202 
 203 compiler.err.rule.completes.normally=\
 204     switch rule completes without providing a value\n\
 205     (switch rules in switch expressions must either provide a value or throw)
 206 
 207 compiler.err.switch.expression.completes.normally=\
 208     switch expression completes without providing a value\n\
 209     (switch expressions must either provide a value or throw for all possible input values)
 210 
 211 # 0: name
 212 compiler.err.break.ambiguous.target=\
 213     ambiguous reference to ''{0}''\n\
 214     (''{0}'' is both a label and an expression)
 215 
 216 # 0: tree tag
 217 compiler.err.break.expr.not.immediate=\
 218     value break not supported in ''{0}''
 219 
 220 compiler.err.break.complex.value.no.switch.expression=\
 221     unexpected value break









 222 
 223 compiler.err.switch.expression.empty=\
 224     switch expression does not have any case clauses
 225 
 226 # 0: name
 227 compiler.err.call.must.be.first.stmt.in.ctor=\
 228     call to {0} must be first statement in constructor
 229 
 230 # 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
 231 compiler.err.cant.apply.symbol=\
 232     {0} {1} in {4} {5} cannot be applied to given types;\n\
 233     required: {2}\n\
 234     found:    {3}\n\
 235     reason: {6}
 236 
 237 # 0: symbol kind, 1: name, 2: list of type
 238 compiler.err.cant.apply.symbols=\
 239     no suitable {0} found for {1}({2})
 240 
 241 # 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


 606 compiler.warn.forward.ref=\
 607     reference to variable ''{0}'' before it has been initialized
 608 
 609 compiler.err.illegal.self.ref=\
 610     self-reference in initializer
 611 
 612 # 0: symbol
 613 compiler.warn.self.ref=\
 614     self-reference in initializer of variable ''{0}''
 615 
 616 compiler.err.illegal.generic.type.for.instof=\
 617     illegal generic type for instanceof
 618 
 619 # 0: type
 620 compiler.err.illegal.initializer.for.type=\
 621     illegal initializer for {0}
 622 
 623 compiler.err.illegal.line.end.in.char.lit=\
 624     illegal line end in character literal
 625 









 626 compiler.err.illegal.nonascii.digit=\
 627     illegal non-ASCII digit
 628 
 629 compiler.err.illegal.underscore=\
 630     illegal underscore
 631 
 632 compiler.err.illegal.dot=\
 633     illegal ''.''
 634 
 635 # 0: symbol
 636 compiler.err.illegal.qual.not.icls=\
 637     illegal qualifier; {0} is not an inner class
 638 
 639 compiler.err.illegal.start.of.expr=\
 640     illegal start of expression
 641 
 642 compiler.err.illegal.start.of.stmt=\
 643     illegal start of statement
 644 
 645 compiler.err.illegal.start.of.type=\


1227     bad type qualifier {0} in default super call\n\
1228     {1}
1229 
1230 # 0: symbol, 1: type
1231 compiler.misc.overridden.default=\
1232     method {0} is overridden in {1}
1233 
1234 # 0: symbol, 1: type or symbol
1235 compiler.misc.redundant.supertype=\
1236     redundant interface {0} is extended by {1}
1237 
1238 compiler.err.unclosed.char.lit=\
1239     unclosed character literal
1240 
1241 compiler.err.unclosed.comment=\
1242     unclosed comment
1243 
1244 compiler.err.unclosed.str.lit=\
1245     unclosed string literal
1246 



1247 # 0: string
1248 compiler.err.unsupported.encoding=\
1249     unsupported encoding: {0}
1250 
1251 compiler.err.io.exception=\
1252     error reading source file: {0}
1253 
1254 # 0: name
1255 compiler.err.undef.label=\
1256     undefined label: {0}
1257 
1258 compiler.err.illegal.ref.to.var.type=\
1259     illegal reference to restricted type ''var''

1260 
1261 compiler.err.var.not.allowed=\
1262     ''var'' not allowed here\n\
1263     as of release 10, ''var'' is a restricted local variable type and cannot be used for type declarations
1264 
1265 compiler.warn.var.not.allowed=\
1266     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










1267 
1268 # 0: name (variable), 1: message segment
1269 compiler.err.cant.infer.local.var.type=\
1270     cannot infer type for local variable {0}\n\
1271     ({1})
1272 
1273 compiler.err.var.not.allowed.here=\
1274     ''var'' is not allowed here

1275 
1276 compiler.err.var.not.allowed.array=\
1277     ''var'' is not allowed as an element type of an array

1278 
1279 compiler.err.var.not.allowed.compound=\
1280     ''var'' is not allowed in a compound declaration

1281 
1282 # 0: fragment
1283 compiler.err.invalid.lambda.parameter.declaration=\
1284     invalid lambda parameter declaration\n\
1285     ({0})
1286 
1287 compiler.misc.implicit.and.explicit.not.allowed=\
1288     cannot mix implicitly-typed and explicitly-typed parameters
1289 
1290 compiler.misc.var.and.explicit.not.allowed=\
1291     cannot mix ''var'' and explicitly-typed parameters
1292 
1293 compiler.misc.var.and.implicit.not.allowed=\
1294     cannot mix ''var'' and implicitly-typed parameters
1295 
1296 compiler.misc.local.cant.infer.null=\
1297     variable initializer is ''null''
1298 
1299 compiler.misc.local.cant.infer.void=\
1300     variable initializer is ''void''


2637     value
2638 
2639 compiler.misc.kindname.method=\
2640     method
2641 
2642 compiler.misc.kindname.class=\
2643     class
2644 
2645 compiler.misc.kindname.package=\
2646     package
2647 
2648 compiler.misc.kindname.module=\
2649     module
2650 
2651 compiler.misc.kindname.static.init=\
2652     static initializer
2653 
2654 compiler.misc.kindname.instance.init=\
2655     instance initializer
2656 
2657 # the following are names of tree kinds:
2658 compiler.misc.tree.tag.forloop=\
2659     for
2660 
2661 compiler.misc.tree.tag.foreachloop=\
2662     for
2663 
2664 compiler.misc.tree.tag.whileloop=\
2665     while
2666 
2667 compiler.misc.tree.tag.doloop=\
2668     do
2669 
2670 compiler.misc.tree.tag.switch=\
2671     switch
2672 
2673 #####
2674 
2675 compiler.misc.no.args=\
2676     no arguments
2677 
2678 # 0: message segment
2679 compiler.err.override.static=\
2680     {0}\n\
2681     overriding method is static
2682 
2683 # 0: message segment, 1: set of flag
2684 compiler.err.override.meth=\
2685     {0}\n\
2686     overridden method is {1}
2687 
2688 # 0: message segment, 1: type
2689 compiler.err.override.meth.doesnt.throw=\
2690     {0}\n\
2691     overridden method does not throw {1}
2692 


2841 compiler.misc.feature.lambda=\
2842     lambda expressions
2843 
2844 compiler.misc.feature.method.references=\
2845     method references
2846 
2847 compiler.misc.feature.default.methods=\
2848     default methods
2849 
2850 compiler.misc.feature.intersection.types.in.cast=\
2851     intersection types
2852 
2853 compiler.misc.feature.static.intf.methods=\
2854     static interface methods
2855 
2856 compiler.misc.feature.static.intf.method.invoke=\
2857     static interface method invocations
2858 
2859 compiler.misc.feature.private.intf.methods=\
2860     private interface methods



2861 
2862 compiler.misc.feature.multiple.case.labels=\
2863     multiple case labels
2864 
2865 compiler.misc.feature.switch.rules=\
2866     switch rules
2867 
2868 compiler.misc.feature.switch.expressions=\
2869     switch expressions
2870 
2871 compiler.misc.feature.var.syntax.in.implicit.lambda=\
2872     var syntax in implicit lambdas
2873 
2874 compiler.warn.underscore.as.identifier=\
2875     as of release 9, ''_'' is a keyword, and may not be used as an identifier
2876 
2877 compiler.err.underscore.as.identifier=\
2878     as of release 9, ''_'' is a keyword, and may not be used as an identifier
2879 
2880 compiler.err.underscore.as.identifier.in.lambda=\


< prev index next >