langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties
changeset 6151 dd513881e71d
parent 6148 3a8158299c51
child 6157 218670cd9b1c
equal deleted inserted replaced
6150:d055fa8ced62 6151:dd513881e71d
   695 
   695 
   696 ## All warning messages are preceded by the following string.
   696 ## All warning messages are preceded by the following string.
   697 compiler.warn.warning=\
   697 compiler.warn.warning=\
   698     warning:\u0020
   698     warning:\u0020
   699 
   699 
       
   700 ## Warning messages may also include the following prefix to identify a
       
   701 ## lint option
       
   702 compiler.warn.lintOption=\
       
   703     [{0}]\u0020
       
   704 
   700 compiler.warn.constant.SVUID=\
   705 compiler.warn.constant.SVUID=\
   701     [serial] serialVersionUID must be constant in class {0}
   706     serialVersionUID must be constant in class {0}
   702 
   707 
   703 compiler.warn.dir.path.element.not.found=\
   708 compiler.warn.dir.path.element.not.found=\
   704     [path] bad path element "{0}": no such directory
   709     bad path element "{0}": no such directory
   705 
   710 
   706 compiler.warn.finally.cannot.complete=\
   711 compiler.warn.finally.cannot.complete=\
   707     [finally] finally clause cannot complete normally
   712     finally clause cannot complete normally
   708 
   713 
   709 compiler.warn.has.been.deprecated=\
   714 compiler.warn.has.been.deprecated=\
   710     [deprecation] {0} in {1} has been deprecated
   715     {0} in {1} has been deprecated
   711 
   716 
   712 compiler.warn.sun.proprietary=\
   717 compiler.warn.sun.proprietary=\
   713     {0} is internal proprietary API and may be removed in a future release
   718     {0} is internal proprietary API and may be removed in a future release
   714 
   719 
   715 compiler.warn.illegal.char.for.encoding=\
   720 compiler.warn.illegal.char.for.encoding=\
   716     unmappable character for encoding {0}
   721     unmappable character for encoding {0}
       
   722 
   717 compiler.warn.improper.SVUID=\
   723 compiler.warn.improper.SVUID=\
   718     [serial] serialVersionUID must be declared static final in class {0}
   724     serialVersionUID must be declared static final in class {0}
   719 
   725 
   720 compiler.warn.inexact.non-varargs.call=\
   726 compiler.warn.inexact.non-varargs.call=\
   721 non-varargs call of varargs method with inexact argument type for last parameter;\n\
   727 non-varargs call of varargs method with inexact argument type for last parameter;\n\
   722 cast to {0} for a varargs call\n\
   728 cast to {0} for a varargs call\n\
   723 cast to {1} for a non-varargs call and to suppress this warning
   729 cast to {1} for a non-varargs call and to suppress this warning
   724 
   730 
   725 compiler.warn.long.SVUID=\
   731 compiler.warn.long.SVUID=\
   726     [serial] serialVersionUID must be of type long in class {0}
   732     serialVersionUID must be of type long in class {0}
   727 
   733 
   728 compiler.warn.missing.SVUID=\
   734 compiler.warn.missing.SVUID=\
   729     [serial] serializable class {0} has no definition of serialVersionUID
   735     serializable class {0} has no definition of serialVersionUID
   730 
   736 
   731 compiler.warn.override.varargs.missing=\
   737 compiler.warn.override.varargs.missing=\
   732     {0}; overridden method has no ''...''
   738     {0}; overridden method has no ''...''
   733 compiler.warn.override.varargs.extra=\
   739 compiler.warn.override.varargs.extra=\
   734     {0}; overriding method is missing ''...''
   740     {0}; overriding method is missing ''...''
   735 compiler.warn.override.bridge=\
   741 compiler.warn.override.bridge=\
   736     {0}; overridden method is a bridge method
   742     {0}; overridden method is a bridge method
   737 
   743 
   738 compiler.warn.pkg-info.already.seen=\
   744 compiler.warn.pkg-info.already.seen=\
   739     a package-info.java file has already been seen for package {0}
   745     a package-info.java file has already been seen for package {0}
       
   746 
   740 compiler.warn.path.element.not.found=\
   747 compiler.warn.path.element.not.found=\
   741     [path] bad path element "{0}": no such file or directory
   748     bad path element "{0}": no such file or directory
       
   749 
   742 compiler.warn.possible.fall-through.into.case=\
   750 compiler.warn.possible.fall-through.into.case=\
   743     [fallthrough] possible fall-through into case
   751     possible fall-through into case
   744 
   752 
   745 compiler.warn.redundant.cast=\
   753 compiler.warn.redundant.cast=\
   746     [cast] redundant cast to {0}
   754     redundant cast to {0}
   747 
   755 
   748 compiler.warn.position.overflow=\
   756 compiler.warn.position.overflow=\
   749     Position encoding overflows at line {0}
   757     Position encoding overflows at line {0}
   750 
   758 
   751 compiler.warn.big.major.version=\
   759 compiler.warn.big.major.version=\
   752     {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
   760     {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
   753     It is recommended that the compiler be upgraded.
   761     It is recommended that the compiler be upgraded.
   754 
   762 
   755 compiler.warn.static.not.qualified.by.type=\
   763 compiler.warn.static.not.qualified.by.type=\
   756     [static] static {0} should be qualified by type name, {1}, instead of by an expression
   764     static {0} should be qualified by type name, {1}, instead of by an expression
   757 
   765 
   758 # Warnings related to annotation processing
   766 # Warnings related to annotation processing
   759 compiler.warn.proc.package.does.not.exist=\
   767 compiler.warn.proc.package.does.not.exist=\
   760     package {0} does not exist
   768     package {0} does not exist
   761 compiler.warn.proc.file.reopening=\
   769 compiler.warn.proc.file.reopening=\
   806 compiler.warn.twr.explicit.close.call=\
   814 compiler.warn.twr.explicit.close.call=\
   807     [arm] explicit call to close() on an automatic resource
   815     [arm] explicit call to close() on an automatic resource
   808 compiler.warn.automatic.resource.not.referenced=\
   816 compiler.warn.automatic.resource.not.referenced=\
   809     [arm] automatic resource {0} is never referenced in body of corresponding try statement
   817     [arm] automatic resource {0} is never referenced in body of corresponding try statement
   810 compiler.warn.unchecked.assign=\
   818 compiler.warn.unchecked.assign=\
   811     [unchecked] unchecked assignment: {0} to {1}
   819     unchecked assignment: {0} to {1}
   812 compiler.warn.unchecked.assign.to.var=\
   820 compiler.warn.unchecked.assign.to.var=\
   813     [unchecked] unchecked assignment to variable {0} as member of raw type {1}
   821     unchecked assignment to variable {0} as member of raw type {1}
   814 compiler.warn.unchecked.call.mbr.of.raw.type=\
   822 compiler.warn.unchecked.call.mbr.of.raw.type=\
   815     [unchecked] unchecked call to {0} as a member of the raw type {1}
   823     unchecked call to {0} as a member of the raw type {1}
   816 compiler.warn.unchecked.cast.to.type=\
   824 compiler.warn.unchecked.cast.to.type=\
   817     [unchecked] unchecked cast to type {0}
   825     unchecked cast to type {0}
   818 compiler.warn.unchecked.meth.invocation.applied=\
   826 compiler.warn.unchecked.meth.invocation.applied=\
   819     [unchecked] unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
   827     unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
   820     required: {2}\n\
   828     required: {2}\n\
   821     found: {3}
   829     found: {3}
   822 
   830 
   823 compiler.warn.unchecked.generic.array.creation=\
   831 compiler.warn.unchecked.generic.array.creation=\
   824     [unchecked] unchecked generic array creation for varargs parameter of type {0}
   832     unchecked generic array creation for varargs parameter of type {0}
   825 
   833 
   826 compiler.warn.varargs.non.reifiable.type=\
   834 compiler.warn.varargs.non.reifiable.type=\
   827     [varargs] Possible heap pollution from parameterized vararg type {0}
   835     Possible heap pollution from parameterized vararg type {0}
   828 
   836 
   829 compiler.warn.missing.deprecated.annotation=\
   837 compiler.warn.missing.deprecated.annotation=\
   830     [dep-ann] deprecated item is not annotated with @Deprecated
   838     deprecated item is not annotated with @Deprecated
   831 
   839 
   832 compiler.warn.invalid.archive.file=\
   840 compiler.warn.invalid.archive.file=\
   833     [path] Unexpected file on path: {0}
   841     Unexpected file on path: {0}
   834 
   842 
   835 compiler.warn.unexpected.archive.file=\
   843 compiler.warn.unexpected.archive.file=\
   836     [path] Unexpected extension for archive file: {0}
   844     Unexpected extension for archive file: {0}
   837 
   845 
   838 compiler.warn.div.zero=\
   846 compiler.warn.div.zero=\
   839     [divzero] division by zero
   847     division by zero
   840 
   848 
   841 compiler.warn.empty.if=\
   849 compiler.warn.empty.if=\
   842     [empty] empty statement after if
   850     empty statement after if
   843 
   851 
   844 compiler.warn.annotation.method.not.found=\
   852 compiler.warn.annotation.method.not.found=\
   845     Cannot find annotation method ''{1}()'' in type ''{0}''
   853     Cannot find annotation method ''{1}()'' in type ''{0}''
   846 
   854 
   847 compiler.warn.annotation.method.not.found.reason=\
   855 compiler.warn.annotation.method.not.found.reason=\
   848     Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
   856     Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
   849 
   857 
   850 compiler.warn.raw.class.use=\
   858 compiler.warn.raw.class.use=\
   851     [rawtypes] found raw type: {0}\n\
   859     found raw type: {0}\n\
   852     missing type parameters for generic class {1}
   860     missing type parameters for generic class {1}
   853 
   861 
   854 #####
   862 #####
   855 
   863 
   856 ## The following are tokens which are non-terminals in the language. They should
   864 ## The following are tokens which are non-terminals in the language. They should
  1004     inconvertible types
  1012     inconvertible types
  1005 compiler.misc.possible.loss.of.precision=\
  1013 compiler.misc.possible.loss.of.precision=\
  1006     possible loss of precision
  1014     possible loss of precision
  1007 
  1015 
  1008 compiler.misc.unchecked.assign=\
  1016 compiler.misc.unchecked.assign=\
  1009     [unchecked] unchecked conversion
  1017     unchecked conversion
  1010 # compiler.misc.storecheck=\
  1018 # compiler.misc.storecheck=\
  1011 #     [unchecked] assignment might cause later store checks to fail
  1019 #     assignment might cause later store checks to fail
  1012 # compiler.misc.unchecked=\
  1020 # compiler.misc.unchecked=\
  1013 #     [unchecked] assigned array cannot dynamically check its stores
  1021 #     assigned array cannot dynamically check its stores
  1014 compiler.misc.unchecked.cast.to.type=\
  1022 compiler.misc.unchecked.cast.to.type=\
  1015     [unchecked] unchecked cast
  1023     unchecked cast
  1016 
  1024 
  1017 compiler.misc.assignment.from.super-bound=\
  1025 compiler.misc.assignment.from.super-bound=\
  1018     assignment from super-bound type {0}
  1026     assignment from super-bound type {0}
  1019 compiler.misc.assignment.to.extends-bound=\
  1027 compiler.misc.assignment.to.extends-bound=\
  1020     assignment to extends-bound type {0}
  1028     assignment to extends-bound type {0}
  1180 compiler.err.override.incompatible.ret=\
  1188 compiler.err.override.incompatible.ret=\
  1181     {0}\n\
  1189     {0}\n\
  1182     return type {1} is not compatible with {2}
  1190     return type {1} is not compatible with {2}
  1183 
  1191 
  1184 compiler.warn.override.unchecked.ret=\
  1192 compiler.warn.override.unchecked.ret=\
  1185     [unchecked] {0}\n\
  1193     {0}\n\
  1186     return type requires unchecked conversion from {1} to {2}
  1194     return type requires unchecked conversion from {1} to {2}
  1187 
  1195 
  1188 compiler.warn.override.unchecked.thrown=\
  1196 compiler.warn.override.unchecked.thrown=\
  1189     [unchecked] {0}\n\
  1197     {0}\n\
  1190     overridden method does not throw {1}
  1198     overridden method does not throw {1}
  1191 
  1199 
  1192 ## The following are all possible strings for the first argument ({0}) of the
  1200 ## The following are all possible strings for the first argument ({0}) of the
  1193 ## above strings.
  1201 ## above strings.
  1194 compiler.misc.cant.override=\
  1202 compiler.misc.cant.override=\