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

Print this page

        

*** 59,68 **** --- 59,70 ---- 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.misc.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=\
*** 170,179 **** --- 172,183 ---- compiler.err.except.never.thrown.in.try=\ exception {0} is never thrown in body of corresponding try statement compiler.err.final.parameter.may.not.be.assigned=\ final parameter {0} may not be assigned + compiler.err.arm.resource.may.not.be.assigned=\ + automatic resource {0} may not be assigned compiler.err.multicatch.parameter.may.not.be.assigned=\ multi-catch parameter {0} may not be assigned compiler.err.multicatch.param.must.be.final=\ multi-catch parameter {0} must be final compiler.err.finally.without.try=\
*** 446,455 **** --- 450,461 ---- 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=\
*** 795,804 **** --- 801,814 ---- Unclosed files for the types ''{0}''; these types will not undergo annotation processing compiler.warn.proc.unmatched.processor.options=\ The following options were not recognized by any processor: ''{0}'' + compiler.warn.arm.explicit.close.call=\ + [arm] explicit call to close() on an automatic resource + compiler.warn.automatic.resource.not.referenced=\ + [arm] automatic resource {0} is never referenced in body of corresponding try statement compiler.warn.unchecked.assign=\ [unchecked] unchecked assignment: {0} to {1} compiler.warn.unchecked.assign.to.var=\ [unchecked] unchecked assignment to variable {0} as member of raw type {1} compiler.warn.unchecked.call.mbr.of.raw.type=\
*** 1215,1224 **** --- 1225,1238 ---- 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.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=\