1.1 --- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties Fri Jun 26 12:22:40 2009 -0700 1.2 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties Fri Jun 26 18:51:39 2009 -0700 1.3 @@ -882,6 +882,8 @@ 1.4 bad constant pool tag: {0} at {1} 1.5 compiler.misc.bad.signature=\ 1.6 bad signature: {0} 1.7 +compiler.misc.bad.type.annotation.value=\ 1.8 + bad type annotation target type value: {0} 1.9 compiler.misc.class.file.wrong.class=\ 1.10 class file contains wrong class: {0} 1.11 compiler.misc.class.file.not.found=\ 1.12 @@ -1162,6 +1164,10 @@ 1.13 annotations are not supported in -source {0}\n\ 1.14 (use -source 5 or higher to enable annotations) 1.15 1.16 +compiler.err.type.annotations.not.supported.in.source=\ 1.17 + type annotations are not supported in -source {0}\n\ 1.18 +(use -source 7 or higher to enable type annotations) 1.19 + 1.20 compiler.err.foreach.not.supported.in.source=\ 1.21 for-each loops are not supported in -source {0}\n\ 1.22 (use -source 5 or higher to enable for-each loops)