langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties
changeset 7211 163fe60f63de
parent 7203 1153590927f7
child 7330 7c670eebe55c
equal deleted inserted replaced
7210:8dd5f907461e 7211:163fe60f63de
    61     anonymous class implements interface; cannot have arguments
    61     anonymous class implements interface; cannot have arguments
    62 compiler.err.anon.class.impl.intf.no.typeargs=\
    62 compiler.err.anon.class.impl.intf.no.typeargs=\
    63     anonymous class implements interface; cannot have type arguments
    63     anonymous class implements interface; cannot have type arguments
    64 compiler.err.anon.class.impl.intf.no.qual.for.new=\
    64 compiler.err.anon.class.impl.intf.no.qual.for.new=\
    65     anonymous class implements interface; cannot have qualifier for new
    65     anonymous class implements interface; cannot have qualifier for new
    66 compiler.misc.twr.not.applicable.to.type=\
       
    67     automatic resource management not applicable to variable type
       
    68 compiler.err.array.and.varargs=\
    66 compiler.err.array.and.varargs=\
    69     cannot declare both {0} and {1} in {2}
    67     cannot declare both {0} and {1} in {2}
    70 compiler.err.array.dimension.missing=\
    68 compiler.err.array.dimension.missing=\
    71     array dimension missing
    69     array dimension missing
    72 compiler.err.array.req.but.found=\
    70 compiler.err.array.req.but.found=\
   181 compiler.err.except.never.thrown.in.try=\
   179 compiler.err.except.never.thrown.in.try=\
   182     exception {0} is never thrown in body of corresponding try statement
   180     exception {0} is never thrown in body of corresponding try statement
   183 
   181 
   184 compiler.err.final.parameter.may.not.be.assigned=\
   182 compiler.err.final.parameter.may.not.be.assigned=\
   185     final parameter {0} may not be assigned
   183     final parameter {0} may not be assigned
   186 compiler.err.twr.resource.may.not.be.assigned=\
   184 compiler.err.try.resource.may.not.be.assigned=\
   187     automatic resource {0} may not be assigned
   185     auto-closeable resource {0} may not be assigned
   188 compiler.err.multicatch.parameter.may.not.be.assigned=\
   186 compiler.err.multicatch.parameter.may.not.be.assigned=\
   189     multi-catch parameter {0} may not be assigned
   187     multi-catch parameter {0} may not be assigned
   190 compiler.err.finally.without.try=\
   188 compiler.err.finally.without.try=\
   191     ''finally'' without ''try''
   189     ''finally'' without ''try''
   192 compiler.err.foreach.not.applicable.to.type=\
   190 compiler.err.foreach.not.applicable.to.type=\
   821     Unclosed files for the types ''{0}''; these types will not undergo annotation processing
   819     Unclosed files for the types ''{0}''; these types will not undergo annotation processing
   822 
   820 
   823 compiler.warn.proc.unmatched.processor.options=\
   821 compiler.warn.proc.unmatched.processor.options=\
   824     The following options were not recognized by any processor: ''{0}''
   822     The following options were not recognized by any processor: ''{0}''
   825 
   823 
   826 compiler.warn.twr.explicit.close.call=\
   824 compiler.warn.try.explicit.close.call=\
   827     [arm] explicit call to close() on an automatic resource
   825     explicit call to close() on an auto-closeable resource
   828 compiler.warn.automatic.resource.not.referenced=\
   826 compiler.warn.try.resource.not.referenced=\
   829     [arm] automatic resource {0} is never referenced in body of corresponding try statement
   827     auto-closeable resource {0} is never referenced in body of corresponding try statement
   830 compiler.warn.unchecked.assign=\
   828 compiler.warn.unchecked.assign=\
   831     unchecked assignment: {0} to {1}
   829     unchecked assignment: {0} to {1}
   832 compiler.warn.unchecked.assign.to.var=\
   830 compiler.warn.unchecked.assign.to.var=\
   833     unchecked assignment to variable {0} as member of raw type {1}
   831     unchecked assignment to variable {0} as member of raw type {1}
   834 compiler.warn.unchecked.call.mbr.of.raw.type=\
   832 compiler.warn.unchecked.call.mbr.of.raw.type=\
  1048 # compiler.err.star.expected=\
  1046 # compiler.err.star.expected=\
  1049 #     ''*'' expected
  1047 #     ''*'' expected
  1050 # compiler.err.no.elem.type=\
  1048 # compiler.err.no.elem.type=\
  1051 #     \[\*\] cannot have a type
  1049 #     \[\*\] cannot have a type
  1052 
  1050 
       
  1051 compiler.misc.try.not.applicable.to.type=\
       
  1052     try-with-resources not applicable to variable type
       
  1053 
  1053 #####
  1054 #####
  1054 
  1055 
  1055 compiler.err.type.found.req=\
  1056 compiler.err.type.found.req=\
  1056 unexpected type\n\
  1057 unexpected type\n\
  1057 required: {1}\n\
  1058 required: {1}\n\
  1270 
  1271 
  1271 compiler.err.unsupported.exotic.id=\
  1272 compiler.err.unsupported.exotic.id=\
  1272     exotic identifiers #"___" are not supported in -source {0}\n\
  1273     exotic identifiers #"___" are not supported in -source {0}\n\
  1273 (use -source 7 or higher to enable exotic identifiers)
  1274 (use -source 7 or higher to enable exotic identifiers)
  1274 
  1275 
  1275 compiler.err.automatic.resource.management.not.supported.in.source=\
  1276 compiler.err.try.with.resources.not.supported.in.source=\
  1276     automatic resource management is not supported in -source {0}\n\
  1277     try-with-resources is not supported in -source {0}\n\
  1277 (use -source 7 or higher to enable automatic resource management)
  1278 (use -source 7 or higher to enable try-with-resources)
  1278 
  1279 
  1279 compiler.warn.enum.as.identifier=\
  1280 compiler.warn.enum.as.identifier=\
  1280     as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
  1281     as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
  1281 (use -source 5 or higher to use ''enum'' as a keyword)
  1282 (use -source 5 or higher to use ''enum'' as a keyword)
  1282 
  1283