changeset 605:e57b27703e8b

6968789: incorrect text in "diamond not supported" message Reviewed-by: darcy
author jjg
date Tue, 13 Jul 2010 19:20:48 -0700
parents 0e1fab5cffc8
children b49b0d72c071
files src/share/classes/com/sun/tools/javac/resources/compiler.properties
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Jul 13 19:17:55 2010 -0700
+++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Jul 13 19:20:48 2010 -0700
@@ -1263,7 +1263,7 @@
 
 compiler.err.diamond.not.supported.in.source=\
     diamond operator is not supported in -source {0}\n\
-(use -source 7 or higher to enable multi-catch statement)
+(use -source 7 or higher to enable diamond operator)
 
 compiler.err.multicatch.not.supported.in.source=\
     multi-catch statement is not supported in -source {0}\n\