--- a/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties Mon Nov 28 15:56:42 2011 +0000
+++ b/langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties Mon Nov 28 16:05:46 2011 +0000
@@ -1950,6 +1950,11 @@
lambda expressions are not supported in -source {0}\n\
(use -source 8 or higher to enable lambda expressions)
+# 0: string
+compiler.err.method.references.not.supported.in.source=\
+ method references are not supported in -source {0}\n\
+ (use -source 8 or higher to enable method references)
+
########################################
# Diagnostics for verbose resolution
# used by Resolve (debug only)