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

Print this page




  44 compiler.err.annotation.missing.default.value=\
  45     annotation {0} is missing {1}
  46 compiler.err.annotation.not.valid.for.type=\
  47     annotation not valid for a value of type {0}
  48 compiler.err.annotation.type.not.applicable=\
  49     annotation type not applicable to this kind of declaration
  50 compiler.err.annotation.value.must.be.annotation=\
  51     annotation value must be an annotation
  52 compiler.err.annotation.value.must.be.class.literal=\
  53     annotation value must be a class literal
  54 compiler.err.annotation.value.must.be.name.value=\
  55     annotation values must be of the form ''name=value''
  56 compiler.err.annotation.value.not.allowable.type=\
  57     annotation value not of an allowable type
  58 compiler.err.anon.class.impl.intf.no.args=\
  59     anonymous class implements interface; cannot have arguments
  60 compiler.err.anon.class.impl.intf.no.typeargs=\
  61     anonymous class implements interface; cannot have type arguments
  62 compiler.err.anon.class.impl.intf.no.qual.for.new=\
  63     anonymous class implements interface; cannot have qualifier for new


  64 compiler.err.array.and.varargs=\
  65     cannot declare both {0} and {1} in {2}
  66 compiler.err.array.dimension.missing=\
  67     array dimension missing
  68 compiler.err.array.req.but.found=\
  69     array required, but {0} found
  70 
  71 compiler.err.assignment.from.super-bound=\
  72     assigning from wildcard {0}
  73 compiler.err.assignment.to.extends-bound=\
  74     assigning to wildcard {0}
  75 compiler.err.attribute.value.must.be.constant=\
  76     attribute value must be constant
  77 
  78 compiler.err.break.outside.switch.loop=\
  79     break outside switch or loop
  80 
  81 compiler.err.call.must.be.first.stmt.in.ctor=\
  82     call to {0} must be first statement in constructor
  83 compiler.err.cant.apply.symbol=\


 155 
 156 compiler.err.enum.cant.be.instantiated=\
 157     enum types may not be instantiated
 158 compiler.err.enum.label.must.be.unqualified.enum=\
 159     an enum switch case label must be the unqualified name of an enumeration constant
 160 compiler.err.enum.no.subclassing=\
 161     classes cannot directly extend java.lang.Enum
 162 compiler.err.enum.types.not.extensible=\
 163     enum types are not extensible
 164 compiler.err.enum.no.finalize=\
 165     enums cannot have finalize methods
 166 compiler.err.error.reading.file=\
 167     error reading {0}; {1}
 168 compiler.err.except.already.caught=\
 169     exception {0} has already been caught
 170 compiler.err.except.never.thrown.in.try=\
 171     exception {0} is never thrown in body of corresponding try statement
 172 
 173 compiler.err.final.parameter.may.not.be.assigned=\
 174     final parameter {0} may not be assigned


 175 compiler.err.multicatch.parameter.may.not.be.assigned=\
 176     multi-catch parameter {0} may not be assigned
 177 compiler.err.multicatch.param.must.be.final=\
 178     multi-catch parameter {0} must be final
 179 compiler.err.finally.without.try=\
 180     ''finally'' without ''try''
 181 compiler.err.foreach.not.applicable.to.type=\
 182     foreach not applicable to expression type
 183 compiler.err.fp.number.too.large=\
 184     floating point number too large
 185 compiler.err.fp.number.too.small=\
 186     floating point number too small
 187 
 188 compiler.err.generic.array.creation=\
 189     generic array creation
 190 compiler.err.generic.throwable=\
 191     a generic class may not extend java.lang.Throwable
 192 
 193 compiler.err.icls.cant.have.static.decl=\
 194     inner classes cannot have static declarations


 431     signature does not match {0}; incompatible interfaces
 432 compiler.err.does.not.override.abstract=\
 433     {0} is not abstract and does not override abstract method {1} in {2}
 434 compiler.err.source.cant.overwrite.input.file=\
 435     error writing source; cannot overwrite input file {0}
 436 compiler.err.stack.sim.error=\
 437     Internal error: stack sim error on {0}
 438 compiler.err.static.imp.only.classes.and.interfaces=\
 439     static import only from classes and interfaces
 440 compiler.err.string.const.req=\
 441     constant string expression required
 442 compiler.err.synthetic.name.conflict=\
 443     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 444 compiler.warn.synthetic.name.conflict=\
 445     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 446 
 447 compiler.err.throws.not.allowed.in.intf.annotation=\
 448     throws clause not allowed in @interface members
 449 compiler.err.try.without.catch.or.finally=\
 450     ''try'' without ''catch'' or ''finally''


 451 compiler.err.type.doesnt.take.params=\
 452     type {0} does not take parameters
 453 compiler.err.type.var.cant.be.deref=\
 454     cannot select from a type variable
 455 compiler.err.type.var.may.not.be.followed.by.other.bounds=\
 456     a type variable may not be followed by other bounds
 457 compiler.err.type.var.more.than.once=\
 458     type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
 459 compiler.err.type.var.more.than.once.in.result=\
 460     type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
 461 compiler.err.types.incompatible.diff.ret=\
 462     types {0} and {1} are incompatible; both define {2}, but with unrelated return types
 463 
 464 compiler.err.unclosed.bytecode.ident=\
 465     unclosed bytecode identifier
 466 compiler.err.unclosed.char.lit=\
 467     unclosed character literal
 468 compiler.err.unclosed.comment=\
 469     unclosed comment
 470 compiler.err.unclosed.str.lit=\


 780     Annotation processing without compilation requested but no processors were found.
 781 
 782 compiler.warn.proc.use.implicit=\
 783 Implicitly compiled files were not subject to annotation processing.\n\
 784 Use -implicit to specify a policy for implicit compilation.
 785 
 786 compiler.warn.proc.use.proc.or.implicit=\
 787 Implicitly compiled files were not subject to annotation processing.\n\
 788 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
 789 
 790 # Print a client-generated warning; assumed to be localized, no translation required
 791 compiler.warn.proc.messager=\
 792     {0}
 793 
 794 compiler.warn.proc.unclosed.type.files=\
 795     Unclosed files for the types ''{0}''; these types will not undergo annotation processing
 796 
 797 compiler.warn.proc.unmatched.processor.options=\
 798     The following options were not recognized by any processor: ''{0}''
 799 




 800 compiler.warn.unchecked.assign=\
 801     [unchecked] unchecked assignment: {0} to {1}
 802 compiler.warn.unchecked.assign.to.var=\
 803     [unchecked] unchecked assignment to variable {0} as member of raw type {1}
 804 compiler.warn.unchecked.call.mbr.of.raw.type=\
 805     [unchecked] unchecked call to {0} as a member of the raw type {1}
 806 compiler.warn.unchecked.cast.to.type=\
 807     [unchecked] unchecked cast to type {0}
 808 compiler.warn.unchecked.meth.invocation.applied=\
 809     [unchecked] unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
 810     required: {2}\n\
 811     found: {3}
 812 
 813 compiler.warn.unchecked.generic.array.creation=\
 814     [unchecked] unchecked generic array creation for varargs parameter of type {0}
 815 
 816 compiler.warn.varargs.non.reifiable.type=\
 817     [varargs] Possible heap pollution from parameterized vararg type {0}
 818 
 819 compiler.warn.missing.deprecated.annotation=\


1200 compiler.misc.varargs.clash.with=\
1201     {0} in {1} overrides {2} in {3}
1202 compiler.misc.non.denotable.type=\
1203     Non-denotable type {0} not allowed here
1204 
1205 ########################################
1206 # Diagnostics for language feature changes
1207 ########################################
1208 compiler.err.unsupported.fp.lit=\
1209     hexadecimal floating point literals are not supported in -source {0}\n\
1210 (use -source 5 or higher to enable hexadecimal floating point literals)
1211 
1212 compiler.err.unsupported.binary.lit=\
1213     binary literals are not supported in -source {0}\n\
1214 (use -source 7 or higher to enable binary literals)
1215 
1216 compiler.err.unsupported.underscore.lit=\
1217     underscores in literals are not supported in -source {0}\n\
1218 (use -source 7 or higher to enable underscores in literals)
1219 




1220 compiler.warn.enum.as.identifier=\
1221     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)
1223 
1224 compiler.warn.assert.as.identifier=\
1225     as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
1226 (use -source 1.4 or higher to use ''assert'' as a keyword)
1227 
1228 compiler.err.enum.as.identifier=\
1229     as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
1230 (use -source 1.4 or lower to use ''enum'' as an identifier)
1231 
1232 compiler.err.assert.as.identifier=\
1233     as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
1234 (use -source 1.3 or lower to use ''assert'' as an identifier)
1235 
1236 compiler.err.generics.not.supported.in.source=\
1237     generics are not supported in -source {0}\n\
1238 (use -source 5 or higher to enable generics)
1239 




  44 compiler.err.annotation.missing.default.value=\
  45     annotation {0} is missing {1}
  46 compiler.err.annotation.not.valid.for.type=\
  47     annotation not valid for a value of type {0}
  48 compiler.err.annotation.type.not.applicable=\
  49     annotation type not applicable to this kind of declaration
  50 compiler.err.annotation.value.must.be.annotation=\
  51     annotation value must be an annotation
  52 compiler.err.annotation.value.must.be.class.literal=\
  53     annotation value must be a class literal
  54 compiler.err.annotation.value.must.be.name.value=\
  55     annotation values must be of the form ''name=value''
  56 compiler.err.annotation.value.not.allowable.type=\
  57     annotation value not of an allowable type
  58 compiler.err.anon.class.impl.intf.no.args=\
  59     anonymous class implements interface; cannot have arguments
  60 compiler.err.anon.class.impl.intf.no.typeargs=\
  61     anonymous class implements interface; cannot have type arguments
  62 compiler.err.anon.class.impl.intf.no.qual.for.new=\
  63     anonymous class implements interface; cannot have qualifier for new
  64 compiler.misc.arm.not.applicable.to.type=\
  65     automatic resource management not applicable to variable type
  66 compiler.err.array.and.varargs=\
  67     cannot declare both {0} and {1} in {2}
  68 compiler.err.array.dimension.missing=\
  69     array dimension missing
  70 compiler.err.array.req.but.found=\
  71     array required, but {0} found
  72 
  73 compiler.err.assignment.from.super-bound=\
  74     assigning from wildcard {0}
  75 compiler.err.assignment.to.extends-bound=\
  76     assigning to wildcard {0}
  77 compiler.err.attribute.value.must.be.constant=\
  78     attribute value must be constant
  79 
  80 compiler.err.break.outside.switch.loop=\
  81     break outside switch or loop
  82 
  83 compiler.err.call.must.be.first.stmt.in.ctor=\
  84     call to {0} must be first statement in constructor
  85 compiler.err.cant.apply.symbol=\


 157 
 158 compiler.err.enum.cant.be.instantiated=\
 159     enum types may not be instantiated
 160 compiler.err.enum.label.must.be.unqualified.enum=\
 161     an enum switch case label must be the unqualified name of an enumeration constant
 162 compiler.err.enum.no.subclassing=\
 163     classes cannot directly extend java.lang.Enum
 164 compiler.err.enum.types.not.extensible=\
 165     enum types are not extensible
 166 compiler.err.enum.no.finalize=\
 167     enums cannot have finalize methods
 168 compiler.err.error.reading.file=\
 169     error reading {0}; {1}
 170 compiler.err.except.already.caught=\
 171     exception {0} has already been caught
 172 compiler.err.except.never.thrown.in.try=\
 173     exception {0} is never thrown in body of corresponding try statement
 174 
 175 compiler.err.final.parameter.may.not.be.assigned=\
 176     final parameter {0} may not be assigned
 177 compiler.err.arm.resource.may.not.be.assigned=\
 178     automatic resource {0} may not be assigned
 179 compiler.err.multicatch.parameter.may.not.be.assigned=\
 180     multi-catch parameter {0} may not be assigned
 181 compiler.err.multicatch.param.must.be.final=\
 182     multi-catch parameter {0} must be final
 183 compiler.err.finally.without.try=\
 184     ''finally'' without ''try''
 185 compiler.err.foreach.not.applicable.to.type=\
 186     foreach not applicable to expression type
 187 compiler.err.fp.number.too.large=\
 188     floating point number too large
 189 compiler.err.fp.number.too.small=\
 190     floating point number too small
 191 
 192 compiler.err.generic.array.creation=\
 193     generic array creation
 194 compiler.err.generic.throwable=\
 195     a generic class may not extend java.lang.Throwable
 196 
 197 compiler.err.icls.cant.have.static.decl=\
 198     inner classes cannot have static declarations


 435     signature does not match {0}; incompatible interfaces
 436 compiler.err.does.not.override.abstract=\
 437     {0} is not abstract and does not override abstract method {1} in {2}
 438 compiler.err.source.cant.overwrite.input.file=\
 439     error writing source; cannot overwrite input file {0}
 440 compiler.err.stack.sim.error=\
 441     Internal error: stack sim error on {0}
 442 compiler.err.static.imp.only.classes.and.interfaces=\
 443     static import only from classes and interfaces
 444 compiler.err.string.const.req=\
 445     constant string expression required
 446 compiler.err.synthetic.name.conflict=\
 447     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 448 compiler.warn.synthetic.name.conflict=\
 449     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
 450 
 451 compiler.err.throws.not.allowed.in.intf.annotation=\
 452     throws clause not allowed in @interface members
 453 compiler.err.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
 457 compiler.err.type.doesnt.take.params=\
 458     type {0} does not take parameters
 459 compiler.err.type.var.cant.be.deref=\
 460     cannot select from a type variable
 461 compiler.err.type.var.may.not.be.followed.by.other.bounds=\
 462     a type variable may not be followed by other bounds
 463 compiler.err.type.var.more.than.once=\
 464     type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
 465 compiler.err.type.var.more.than.once.in.result=\
 466     type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
 467 compiler.err.types.incompatible.diff.ret=\
 468     types {0} and {1} are incompatible; both define {2}, but with unrelated return types
 469 
 470 compiler.err.unclosed.bytecode.ident=\
 471     unclosed bytecode identifier
 472 compiler.err.unclosed.char.lit=\
 473     unclosed character literal
 474 compiler.err.unclosed.comment=\
 475     unclosed comment
 476 compiler.err.unclosed.str.lit=\


 786     Annotation processing without compilation requested but no processors were found.
 787 
 788 compiler.warn.proc.use.implicit=\
 789 Implicitly compiled files were not subject to annotation processing.\n\
 790 Use -implicit to specify a policy for implicit compilation.
 791 
 792 compiler.warn.proc.use.proc.or.implicit=\
 793 Implicitly compiled files were not subject to annotation processing.\n\
 794 Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
 795 
 796 # Print a client-generated warning; assumed to be localized, no translation required
 797 compiler.warn.proc.messager=\
 798     {0}
 799 
 800 compiler.warn.proc.unclosed.type.files=\
 801     Unclosed files for the types ''{0}''; these types will not undergo annotation processing
 802 
 803 compiler.warn.proc.unmatched.processor.options=\
 804     The following options were not recognized by any processor: ''{0}''
 805 
 806 compiler.warn.arm.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
 810 compiler.warn.unchecked.assign=\
 811     [unchecked] unchecked assignment: {0} to {1}
 812 compiler.warn.unchecked.assign.to.var=\
 813     [unchecked] unchecked assignment to variable {0} as member of raw type {1}
 814 compiler.warn.unchecked.call.mbr.of.raw.type=\
 815     [unchecked] unchecked call to {0} as a member of the raw type {1}
 816 compiler.warn.unchecked.cast.to.type=\
 817     [unchecked] unchecked cast to type {0}
 818 compiler.warn.unchecked.meth.invocation.applied=\
 819     [unchecked] unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
 820     required: {2}\n\
 821     found: {3}
 822 
 823 compiler.warn.unchecked.generic.array.creation=\
 824     [unchecked] unchecked generic array creation for varargs parameter of type {0}
 825 
 826 compiler.warn.varargs.non.reifiable.type=\
 827     [varargs] Possible heap pollution from parameterized vararg type {0}
 828 
 829 compiler.warn.missing.deprecated.annotation=\


1210 compiler.misc.varargs.clash.with=\
1211     {0} in {1} overrides {2} in {3}
1212 compiler.misc.non.denotable.type=\
1213     Non-denotable type {0} not allowed here
1214 
1215 ########################################
1216 # Diagnostics for language feature changes
1217 ########################################
1218 compiler.err.unsupported.fp.lit=\
1219     hexadecimal floating point literals are not supported in -source {0}\n\
1220 (use -source 5 or higher to enable hexadecimal floating point literals)
1221 
1222 compiler.err.unsupported.binary.lit=\
1223     binary literals are not supported in -source {0}\n\
1224 (use -source 7 or higher to enable binary literals)
1225 
1226 compiler.err.unsupported.underscore.lit=\
1227     underscores in literals are not supported in -source {0}\n\
1228 (use -source 7 or higher to enable underscores in literals)
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 
1234 compiler.warn.enum.as.identifier=\
1235     as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
1236 (use -source 5 or higher to use ''enum'' as a keyword)
1237 
1238 compiler.warn.assert.as.identifier=\
1239     as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
1240 (use -source 1.4 or higher to use ''assert'' as a keyword)
1241 
1242 compiler.err.enum.as.identifier=\
1243     as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
1244 (use -source 1.4 or lower to use ''enum'' as an identifier)
1245 
1246 compiler.err.assert.as.identifier=\
1247     as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
1248 (use -source 1.3 or lower to use ''assert'' as an identifier)
1249 
1250 compiler.err.generics.not.supported.in.source=\
1251     generics are not supported in -source {0}\n\
1252 (use -source 5 or higher to enable generics)
1253