src/share/classes/com/sun/tools/javac/resources/compiler.properties
Print this page
@@ -59,10 +59,12 @@
anonymous class implements interface; cannot have arguments
compiler.err.anon.class.impl.intf.no.typeargs=\
anonymous class implements interface; cannot have type arguments
compiler.err.anon.class.impl.intf.no.qual.for.new=\
anonymous class implements interface; cannot have qualifier for new
+compiler.err.arm.not.applicable.to.type=\
+ automatic resource management not applicable to variable type
compiler.err.array.and.varargs=\
cannot declare both {0} and {1} in {2}
compiler.err.array.dimension.missing=\
array dimension missing
compiler.err.array.req.but.found=\
@@ -446,10 +448,12 @@
compiler.err.throws.not.allowed.in.intf.annotation=\
throws clause not allowed in @interface members
compiler.err.try.without.catch.or.finally=\
''try'' without ''catch'' or ''finally''
+compiler.err.try.without.catch.finally.or.resource.decls=\
+ ''try'' without ''catch'', ''finally'' or resource declarations
compiler.err.type.doesnt.take.params=\
type {0} does not take parameters
compiler.err.type.var.cant.be.deref=\
cannot select from a type variable
compiler.err.type.var.may.not.be.followed.by.other.bounds=\
@@ -1210,10 +1214,17 @@
compiler.err.unsupported.underscore.lit=\
underscores in literals are not supported in -source {0}\n\
(use -source 7 or higher to enable underscores in literals)
+compiler.err.automatic.resource.management.not.supported.in.source=\
+ automatic resource management is not supported in -source {0}\n\
+(use -source 7 or higher to enable automatic resource management)
+
+compiler.warn.automatic.resource.not.referenced=\
+ automatic resource {0} is never referenced in body of corresponding try statement
+
compiler.warn.enum.as.identifier=\
as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
(use -source 5 or higher to use ''enum'' as a keyword)
compiler.warn.assert.as.identifier=\