src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
changeset 48721 ef3557eb4306
parent 48608 1dab70e20292
child 48746 c9ab849cd2f5
equal deleted inserted replaced
48720:290b480df13e 48721:ef3557eb4306
   622 
   622 
   623 # 0: type, 1: type
   623 # 0: type, 1: type
   624 compiler.err.incomparable.types=\
   624 compiler.err.incomparable.types=\
   625     incomparable types: {0} and {1}
   625     incomparable types: {0} and {1}
   626 
   626 
   627 # 0: number
   627 # 0: string
   628 compiler.err.int.number.too.large=\
   628 compiler.err.int.number.too.large=\
   629     integer number too large: {0}
   629     integer number too large
   630 
   630 
   631 compiler.err.intf.annotation.members.cant.have.params=\
   631 compiler.err.intf.annotation.members.cant.have.params=\
   632     elements in annotation type declarations cannot declare formal parameters
   632     elements in annotation type declarations cannot declare formal parameters
   633 
   633 
   634 # 0: symbol
   634 # 0: symbol
  1205 
  1205 
  1206 # 0: name (type)
  1206 # 0: name (type)
  1207 compiler.err.illegal.ref.to.var.type=\
  1207 compiler.err.illegal.ref.to.var.type=\
  1208     illegal reference to restricted type ''{0}''
  1208     illegal reference to restricted type ''{0}''
  1209 
  1209 
  1210 # 0: token
  1210 # 0: name
  1211 compiler.err.var.not.allowed=\
  1211 compiler.err.var.not.allowed=\
  1212     ''{0}'' not allowed here\n\
  1212     ''{0}'' not allowed here\n\
  1213     as of release 10, ''{0}'' is a restricted local variable type and cannot be used for type declarations
  1213     as of release 10, ''{0}'' is a restricted local variable type and cannot be used for type declarations
  1214 
  1214 
  1215 compiler.warn.var.not.allowed=\
  1215 compiler.warn.var.not.allowed=\
  1732 # 0: file name, 1: number, 2: number
  1732 # 0: file name, 1: number, 2: number
  1733 compiler.warn.big.major.version=\
  1733 compiler.warn.big.major.version=\
  1734     {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
  1734     {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
  1735     It is recommended that the compiler be upgraded.
  1735     It is recommended that the compiler be upgraded.
  1736 
  1736 
  1737 # 0: symbol kind, 1: symbol
  1737 # 0: kind name, 1: symbol
  1738 compiler.warn.static.not.qualified.by.type=\
  1738 compiler.warn.static.not.qualified.by.type=\
  1739     static {0} should be qualified by type name, {1}, instead of by an expression
  1739     static {0} should be qualified by type name, {1}, instead of by an expression
  1740 
  1740 
  1741 # 0: string
  1741 # 0: string
  1742 compiler.warn.source.no.bootclasspath=\
  1742 compiler.warn.source.no.bootclasspath=\
  1778 
  1778 
  1779 # 0: string
  1779 # 0: string
  1780 compiler.warn.proc.file.reopening=\
  1780 compiler.warn.proc.file.reopening=\
  1781     Attempt to create a file for ''{0}'' multiple times
  1781     Attempt to create a file for ''{0}'' multiple times
  1782 
  1782 
  1783 # 0: name
  1783 # 0: string
  1784 compiler.warn.proc.type.already.exists=\
  1784 compiler.warn.proc.type.already.exists=\
  1785     A file for type ''{0}'' already exists on the sourcepath or classpath
  1785     A file for type ''{0}'' already exists on the sourcepath or classpath
  1786 
  1786 
  1787 # 0: string
  1787 # 0: string
  1788 compiler.warn.proc.type.recreate=\
  1788 compiler.warn.proc.type.recreate=\
  1859     unchecked call to {0} as a member of the raw type {1}
  1859     unchecked call to {0} as a member of the raw type {1}
  1860 
  1860 
  1861 compiler.warn.unchecked.cast.to.type=\
  1861 compiler.warn.unchecked.cast.to.type=\
  1862     unchecked cast to type {0}
  1862     unchecked cast to type {0}
  1863 
  1863 
  1864 # 0: symbol kind, 1: name, 2: list of type, 3: list of type, 4: symbol kind, 5: symbol
  1864 # 0: kind name, 1: name, 2: object, 3: object, 4: kind name, 5: symbol
  1865 compiler.warn.unchecked.meth.invocation.applied=\
  1865 compiler.warn.unchecked.meth.invocation.applied=\
  1866     unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
  1866     unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
  1867     required: {2}\n\
  1867     required: {2}\n\
  1868     found: {3}
  1868     found: {3}
  1869 
  1869 
  1996 ## This is the only place these tokens will be used.
  1996 ## This is the only place these tokens will be used.
  1997 # 0: token
  1997 # 0: token
  1998 compiler.err.expected=\
  1998 compiler.err.expected=\
  1999     {0} expected
  1999     {0} expected
  2000 
  2000 
       
  2001 # 0: string
       
  2002 compiler.err.expected.str=\
       
  2003     {0} expected
       
  2004 
  2001 # 0: token, 1: token
  2005 # 0: token, 1: token
  2002 compiler.err.expected2=\
  2006 compiler.err.expected2=\
  2003     {0} or {1} expected
  2007     {0} or {1} expected
  2004 
  2008 
  2005 # 0: token, 1: token, 2: token
  2009 # 0: token, 1: token, 2: token