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

changeset 609
13354e1abba7
parent 606
e57b27703e8b
child 612
d1bd93028447
equal deleted inserted replaced
608:472e74211e11 609:13354e1abba7
59 anonymous class implements interface; cannot have arguments 59 anonymous class implements interface; cannot have arguments
60 compiler.err.anon.class.impl.intf.no.typeargs=\ 60 compiler.err.anon.class.impl.intf.no.typeargs=\
61 anonymous class implements interface; cannot have type arguments 61 anonymous class implements interface; cannot have type arguments
62 compiler.err.anon.class.impl.intf.no.qual.for.new=\ 62 compiler.err.anon.class.impl.intf.no.qual.for.new=\
63 anonymous class implements interface; cannot have qualifier for new 63 anonymous class implements interface; cannot have qualifier for new
64 compiler.misc.twr.not.applicable.to.type=\
65 automatic resource management not applicable to variable type
64 compiler.err.array.and.varargs=\ 66 compiler.err.array.and.varargs=\
65 cannot declare both {0} and {1} in {2} 67 cannot declare both {0} and {1} in {2}
66 compiler.err.array.dimension.missing=\ 68 compiler.err.array.dimension.missing=\
67 array dimension missing 69 array dimension missing
68 compiler.err.array.req.but.found=\ 70 compiler.err.array.req.but.found=\
170 compiler.err.except.never.thrown.in.try=\ 172 compiler.err.except.never.thrown.in.try=\
171 exception {0} is never thrown in body of corresponding try statement 173 exception {0} is never thrown in body of corresponding try statement
172 174
173 compiler.err.final.parameter.may.not.be.assigned=\ 175 compiler.err.final.parameter.may.not.be.assigned=\
174 final parameter {0} may not be assigned 176 final parameter {0} may not be assigned
177 compiler.err.twr.resource.may.not.be.assigned=\
178 automatic resource {0} may not be assigned
175 compiler.err.multicatch.parameter.may.not.be.assigned=\ 179 compiler.err.multicatch.parameter.may.not.be.assigned=\
176 multi-catch parameter {0} may not be assigned 180 multi-catch parameter {0} may not be assigned
177 compiler.err.multicatch.param.must.be.final=\ 181 compiler.err.multicatch.param.must.be.final=\
178 multi-catch parameter {0} must be final 182 multi-catch parameter {0} must be final
179 compiler.err.finally.without.try=\ 183 compiler.err.finally.without.try=\
446 450
447 compiler.err.throws.not.allowed.in.intf.annotation=\ 451 compiler.err.throws.not.allowed.in.intf.annotation=\
448 throws clause not allowed in @interface members 452 throws clause not allowed in @interface members
449 compiler.err.try.without.catch.or.finally=\ 453 compiler.err.try.without.catch.or.finally=\
450 ''try'' without ''catch'' or ''finally'' 454 ''try'' without ''catch'' or ''finally''
455 compiler.err.try.without.catch.finally.or.resource.decls=\
456 ''try'' without ''catch'', ''finally'' or resource declarations
451 compiler.err.type.doesnt.take.params=\ 457 compiler.err.type.doesnt.take.params=\
452 type {0} does not take parameters 458 type {0} does not take parameters
453 compiler.err.type.var.cant.be.deref=\ 459 compiler.err.type.var.cant.be.deref=\
454 cannot select from a type variable 460 cannot select from a type variable
455 compiler.err.type.var.may.not.be.followed.by.other.bounds=\ 461 compiler.err.type.var.may.not.be.followed.by.other.bounds=\
795 Unclosed files for the types ''{0}''; these types will not undergo annotation processing 801 Unclosed files for the types ''{0}''; these types will not undergo annotation processing
796 802
797 compiler.warn.proc.unmatched.processor.options=\ 803 compiler.warn.proc.unmatched.processor.options=\
798 The following options were not recognized by any processor: ''{0}'' 804 The following options were not recognized by any processor: ''{0}''
799 805
806 compiler.warn.twr.explicit.close.call=\
807 [arm] explicit call to close() on an automatic resource
808 compiler.warn.automatic.resource.not.referenced=\
809 [arm] automatic resource {0} is never referenced in body of corresponding try statement
800 compiler.warn.unchecked.assign=\ 810 compiler.warn.unchecked.assign=\
801 [unchecked] unchecked assignment: {0} to {1} 811 [unchecked] unchecked assignment: {0} to {1}
802 compiler.warn.unchecked.assign.to.var=\ 812 compiler.warn.unchecked.assign.to.var=\
803 [unchecked] unchecked assignment to variable {0} as member of raw type {1} 813 [unchecked] unchecked assignment to variable {0} as member of raw type {1}
804 compiler.warn.unchecked.call.mbr.of.raw.type=\ 814 compiler.warn.unchecked.call.mbr.of.raw.type=\
1215 1225
1216 compiler.err.unsupported.underscore.lit=\ 1226 compiler.err.unsupported.underscore.lit=\
1217 underscores in literals are not supported in -source {0}\n\ 1227 underscores in literals are not supported in -source {0}\n\
1218 (use -source 7 or higher to enable underscores in literals) 1228 (use -source 7 or higher to enable underscores in literals)
1219 1229
1230 compiler.err.automatic.resource.management.not.supported.in.source=\
1231 automatic resource management is not supported in -source {0}\n\
1232 (use -source 7 or higher to enable automatic resource management)
1233
1220 compiler.warn.enum.as.identifier=\ 1234 compiler.warn.enum.as.identifier=\
1221 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\ 1235 as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
1222 (use -source 5 or higher to use ''enum'' as a keyword) 1236 (use -source 5 or higher to use ''enum'' as a keyword)
1223 1237
1224 compiler.warn.assert.as.identifier=\ 1238 compiler.warn.assert.as.identifier=\

mercurial