langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties
changeset 11053 48713f779b1d
parent 10816 ce8a7e9d8882
child 11143 9dbe313bfb74
equal deleted inserted replaced
11052:65b9fa7eaf55 11053:48713f779b1d
   790 
   790 
   791 # 0: message segment, 1: unused
   791 # 0: message segment, 1: unused
   792 compiler.err.cant.apply.diamond=\
   792 compiler.err.cant.apply.diamond=\
   793     cannot infer type arguments for {0}
   793     cannot infer type arguments for {0}
   794 
   794 
   795 # 0: message segment, 1: message segment
   795 # 0: message segment or type, 1: message segment
   796 compiler.err.cant.apply.diamond.1=\
   796 compiler.err.cant.apply.diamond.1=\
   797     cannot infer type arguments for {0};\n\
   797     cannot infer type arguments for {0};\n\
   798     reason: {1}
   798     reason: {1}
   799 
   799 
   800 compiler.err.unreachable.stmt=\
   800 compiler.err.unreachable.stmt=\
   852 
   852 
   853 # 0: symbol
   853 # 0: symbol
   854 compiler.misc.varargs.trustme.on.virtual.varargs=\
   854 compiler.misc.varargs.trustme.on.virtual.varargs=\
   855     Instance method {0} is not final.
   855     Instance method {0} is not final.
   856 
   856 
   857 # 0: type, 1: kind, 2: symbol
   857 # 0: type, 1: symbol kind, 2: symbol
   858 compiler.misc.inaccessible.varargs.type=\
   858 compiler.misc.inaccessible.varargs.type=\
   859     formal varargs element type {0} is not accessible from {1} {2}
   859     formal varargs element type {0} is not accessible from {1} {2}
   860 
   860 
   861 # In the following string, {1} will always be the detail message from
   861 # In the following string, {1} will always be the detail message from
   862 # java.io.IOException.
   862 # java.io.IOException.
  1629 
  1629 
  1630 # 0: type
  1630 # 0: type
  1631 compiler.misc.diamond.non.generic=\
  1631 compiler.misc.diamond.non.generic=\
  1632     cannot use ''<>'' with non-generic class {0}
  1632     cannot use ''<>'' with non-generic class {0}
  1633 
  1633 
       
  1634 # 0: unused
  1634 compiler.misc.diamond.and.explicit.params=\
  1635 compiler.misc.diamond.and.explicit.params=\
  1635     cannot use ''<>'' with explicit type parameters for constructor
  1636     cannot use ''<>'' with explicit type parameters for constructor
  1636 
  1637 
  1637 # 0: type, 1: list of type
  1638 # 0: type, 1: list of type
  1638 compiler.misc.explicit.param.do.not.conform.to.bounds=\
  1639 compiler.misc.explicit.param.do.not.conform.to.bounds=\
  1710 ##a location subdiagnostic is composed as follows:
  1711 ##a location subdiagnostic is composed as follows:
  1711 ## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.)
  1712 ## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.)
  1712 ## The second argument {1} is the location name
  1713 ## The second argument {1} is the location name
  1713 ## The third argument {2} is the location type (only when {1} is a variable name)
  1714 ## The third argument {2} is the location type (only when {1} is a variable name)
  1714 
  1715 
  1715 # 0: symbol kind, 1: symbol, 2: unused
  1716 # 0: symbol kind, 1: type or symbol, 2: unused
  1716 compiler.misc.location=\
  1717 compiler.misc.location=\
  1717     {0} {1}
  1718     {0} {1}
  1718 
  1719 
  1719 # 0: symbol kind, 1: symbol, 2: type
  1720 # 0: symbol kind, 1: symbol, 2: type
  1720 compiler.misc.location.1=\
  1721 compiler.misc.location.1=\
  1845 
  1846 
  1846 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1847 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  1847 compiler.misc.varargs.clash.with=\
  1848 compiler.misc.varargs.clash.with=\
  1848     {0} in {1} overrides {2} in {3}
  1849     {0} in {1} overrides {2} in {3}
  1849 
  1850 
       
  1851 # 0: unused
  1850 compiler.misc.diamond.and.anon.class=\
  1852 compiler.misc.diamond.and.anon.class=\
  1851     cannot use ''<>'' with anonymous inner classes
  1853     cannot use ''<>'' with anonymous inner classes
  1852 
  1854 
  1853 # 0: symbol kind, 1: symbol, 2: symbol, 3: message segment
  1855 # 0: symbol kind, 1: symbol, 2: symbol, 3: message segment
  1854 compiler.misc.inapplicable.method=\
  1856 compiler.misc.inapplicable.method=\