-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b31
-
generic
-
generic
Within javac.main.JavaCompiler there are a couple of calls like this:
log.error(Position.NOPOS, ex.getMessage());
But the second argument of log.error() should be a resource
bundle key, not a free-format string. This leads to:
error: compiler message file broken: key=compiler.err.file p/A.class not found arguments={0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}
java.lang.RuntimeException
at com.sun.tools.javac.util.Log.printDiagnostic(Log.java:270)
at com.sun.tools.javac.util.Log.error(Log.java:316)
at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:363)
...
###@###.### 2005-2-15 20:33:26 GMT