--- a/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties Tue Nov 08 17:06:08 2011 -0800
+++ b/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties Tue Nov 08 17:06:58 2011 -0800
@@ -792,7 +792,7 @@
compiler.err.cant.apply.diamond=\
cannot infer type arguments for {0}
-# 0: message segment, 1: message segment
+# 0: message segment or type, 1: message segment
compiler.err.cant.apply.diamond.1=\
cannot infer type arguments for {0};\n\
reason: {1}
@@ -854,7 +854,7 @@
compiler.misc.varargs.trustme.on.virtual.varargs=\
Instance method {0} is not final.
-# 0: type, 1: kind, 2: symbol
+# 0: type, 1: symbol kind, 2: symbol
compiler.misc.inaccessible.varargs.type=\
formal varargs element type {0} is not accessible from {1} {2}
@@ -1631,6 +1631,7 @@
compiler.misc.diamond.non.generic=\
cannot use ''<>'' with non-generic class {0}
+# 0: unused
compiler.misc.diamond.and.explicit.params=\
cannot use ''<>'' with explicit type parameters for constructor
@@ -1712,7 +1713,7 @@
## The second argument {1} is the location name
## The third argument {2} is the location type (only when {1} is a variable name)
-# 0: symbol kind, 1: symbol, 2: unused
+# 0: symbol kind, 1: type or symbol, 2: unused
compiler.misc.location=\
{0} {1}
@@ -1847,6 +1848,7 @@
compiler.misc.varargs.clash.with=\
{0} in {1} overrides {2} in {3}
+# 0: unused
compiler.misc.diamond.and.anon.class=\
cannot use ''<>'' with anonymous inner classes