1.1 --- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties Fri Apr 29 16:05:56 2011 +0100 1.2 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties Fri Apr 29 16:06:28 2011 +0100 1.3 @@ -762,9 +762,6 @@ 1.4 compiler.err.unclosed.str.lit=\ 1.5 unclosed string literal 1.6 1.7 -compiler.err.unknown.enum.constant=\ 1.8 - in class file {0}: unknown enum constant {1}.{2} 1.9 - 1.10 # 0: name 1.11 compiler.err.unsupported.encoding=\ 1.12 unsupported encoding: {0} 1.13 @@ -1307,6 +1304,15 @@ 1.14 compiler.warn.annotation.method.not.found.reason=\ 1.15 Cannot find annotation method ''{1}()'' in type ''{0}'': {2} 1.16 1.17 +# 0: symbol, 1: name 1.18 +compiler.warn.unknown.enum.constant=\ 1.19 + unknown enum constant {1}.{2} 1.20 + 1.21 +# 0: symbol, 1: name, 2: message segment 1.22 +compiler.warn.unknown.enum.constant.reason=\ 1.23 + unknown enum constant {1}.{2}\n\ 1.24 + reason: {3} 1.25 + 1.26 # 0: type, 1: type 1.27 compiler.warn.raw.class.use=\ 1.28 found raw type: {0}\n\