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

Print this page




 416     repeated interface
 417 compiler.err.repeated.modifier=\
 418     repeated modifier
 419 compiler.err.report.access=\
 420     {0} has {1} access in {2}
 421 compiler.err.ret.outside.meth=\
 422     return outside method
 423 
 424 compiler.err.signature.doesnt.match.supertype=\
 425     signature does not match {0}; incompatible supertype
 426 compiler.err.signature.doesnt.match.intf=\
 427     signature does not match {0}; incompatible interfaces
 428 compiler.err.does.not.override.abstract=\
 429     {0} is not abstract and does not override abstract method {1} in {2}
 430 compiler.err.source.cant.overwrite.input.file=\
 431     error writing source; cannot overwrite input file {0}
 432 compiler.err.stack.sim.error=\
 433     Internal error: stack sim error on {0}
 434 compiler.err.static.imp.only.classes.and.interfaces=\
 435     static import only from classes and interfaces


 436 compiler.err.synthetic.name.conflict=\
 437     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 438 compiler.warn.synthetic.name.conflict=\
 439     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 440 
 441 compiler.err.throws.not.allowed.in.intf.annotation=\
 442     throws clause not allowed in @interface members
 443 compiler.err.try.without.catch.or.finally=\
 444     ''try'' without ''catch'' or ''finally''
 445 compiler.err.type.doesnt.take.params=\
 446     type {0} does not take parameters
 447 compiler.err.type.var.cant.be.deref=\
 448     cannot select from a type variable
 449 compiler.err.type.var.may.not.be.followed.by.other.bounds=\
 450     a type variable may not be followed by other bounds
 451 compiler.err.type.var.more.than.once=\
 452     type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
 453 compiler.err.type.var.more.than.once.in.result=\
 454     type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
 455 compiler.err.types.incompatible.diff.ret=\


1209 compiler.err.type.annotations.not.supported.in.source=\
1210     type annotations are not supported in -source {0}\n\
1211 (use -source 7 or higher to enable type annotations)
1212 
1213 compiler.err.foreach.not.supported.in.source=\
1214     for-each loops are not supported in -source {0}\n\
1215 (use -source 5 or higher to enable for-each loops)
1216 
1217 compiler.err.static.import.not.supported.in.source=\
1218     static import declarations are not supported in -source {0}\n\
1219 (use -source 5 or higher to enable static import declarations)
1220 
1221 compiler.err.enums.not.supported.in.source=\
1222     enums are not supported in -source {0}\n\
1223 (use -source 5 or higher to enable enums)
1224 
1225 compiler.err.diamond.not.supported.in.source=\
1226     diamond operator is not supported in -source {0}\n\
1227 (use -source 7 or higher to enable diamond operator)
1228 




1229 ########################################
1230 # Diagnostics for where clause implementation
1231 # used by the RichDiagnosticFormatter.
1232 ########################################
1233 
1234 compiler.misc.type.null=\
1235     <null>
1236 
1237 # X#n (where n is an int id) is disambiguated tvar name
1238 compiler.misc.type.var=\
1239     {0}#{1}
1240 
1241 # CAP#n (where n is an int id) is an abbreviation for 'captured type'
1242 compiler.misc.captured.type=\
1243     CAP#{0}
1244 
1245 # <INT#n> (where n is an int id) is an abbreviation for 'intersection type'
1246 compiler.misc.intersection.type=\
1247     INT#{0}
1248 




 416     repeated interface
 417 compiler.err.repeated.modifier=\
 418     repeated modifier
 419 compiler.err.report.access=\
 420     {0} has {1} access in {2}
 421 compiler.err.ret.outside.meth=\
 422     return outside method
 423 
 424 compiler.err.signature.doesnt.match.supertype=\
 425     signature does not match {0}; incompatible supertype
 426 compiler.err.signature.doesnt.match.intf=\
 427     signature does not match {0}; incompatible interfaces
 428 compiler.err.does.not.override.abstract=\
 429     {0} is not abstract and does not override abstract method {1} in {2}
 430 compiler.err.source.cant.overwrite.input.file=\
 431     error writing source; cannot overwrite input file {0}
 432 compiler.err.stack.sim.error=\
 433     Internal error: stack sim error on {0}
 434 compiler.err.static.imp.only.classes.and.interfaces=\
 435     static import only from classes and interfaces
 436 compiler.err.string.const.req=\
 437     constant string expression required
 438 compiler.err.synthetic.name.conflict=\
 439     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 440 compiler.warn.synthetic.name.conflict=\
 441     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 442 
 443 compiler.err.throws.not.allowed.in.intf.annotation=\
 444     throws clause not allowed in @interface members
 445 compiler.err.try.without.catch.or.finally=\
 446     ''try'' without ''catch'' or ''finally''
 447 compiler.err.type.doesnt.take.params=\
 448     type {0} does not take parameters
 449 compiler.err.type.var.cant.be.deref=\
 450     cannot select from a type variable
 451 compiler.err.type.var.may.not.be.followed.by.other.bounds=\
 452     a type variable may not be followed by other bounds
 453 compiler.err.type.var.more.than.once=\
 454     type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
 455 compiler.err.type.var.more.than.once.in.result=\
 456     type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
 457 compiler.err.types.incompatible.diff.ret=\


1211 compiler.err.type.annotations.not.supported.in.source=\
1212     type annotations are not supported in -source {0}\n\
1213 (use -source 7 or higher to enable type annotations)
1214 
1215 compiler.err.foreach.not.supported.in.source=\
1216     for-each loops are not supported in -source {0}\n\
1217 (use -source 5 or higher to enable for-each loops)
1218 
1219 compiler.err.static.import.not.supported.in.source=\
1220     static import declarations are not supported in -source {0}\n\
1221 (use -source 5 or higher to enable static import declarations)
1222 
1223 compiler.err.enums.not.supported.in.source=\
1224     enums are not supported in -source {0}\n\
1225 (use -source 5 or higher to enable enums)
1226 
1227 compiler.err.diamond.not.supported.in.source=\
1228     diamond operator is not supported in -source {0}\n\
1229 (use -source 7 or higher to enable diamond operator)
1230 
1231 compiler.err.string.switch.not.supported.in.source=\
1232     strings in switch are not supported in -source {0}\n\
1233 (use -source 7 or higher to enable strings in switch)
1234 
1235 ########################################
1236 # Diagnostics for where clause implementation
1237 # used by the RichDiagnosticFormatter.
1238 ########################################
1239 
1240 compiler.misc.type.null=\
1241     <null>
1242 
1243 # X#n (where n is an int id) is disambiguated tvar name
1244 compiler.misc.type.var=\
1245     {0}#{1}
1246 
1247 # CAP#n (where n is an int id) is an abbreviation for 'captured type'
1248 compiler.misc.captured.type=\
1249     CAP#{0}
1250 
1251 # <INT#n> (where n is an int id) is an abbreviation for 'intersection type'
1252 compiler.misc.intersection.type=\
1253     INT#{0}
1254