Outstanding issues described in javac compiler bug 4830291 and generics
specification bug 4810933 cause the following regression test to fail to
compile.
/v/ws/auto/tiger/test/java/lang/String/Exceptions.java:348: compiler message file broken: key=compiler.err.cant.apply.symbol.1 arguments=compareTo(java.lang.String), java.lang.String, java.lang.Object, , null, null, null
"foo".compareTo((Object) null);
^
Note: /v/ws/auto/tiger/test/java/lang/String/Exceptions.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
1 error
result: Failed. Compilation failed
-- iag@sfbay 2003-03-14
specification bug 4810933 cause the following regression test to fail to
compile.
/v/ws/auto/tiger/test/java/lang/String/Exceptions.java:348: compiler message file broken: key=compiler.err.cant.apply.symbol.1 arguments=compareTo(java.lang.String), java.lang.String, java.lang.Object, , null, null, null
"foo".compareTo((Object) null);
^
Note: /v/ws/auto/tiger/test/java/lang/String/Exceptions.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
1 error
result: Failed. Compilation failed
-- iag@sfbay 2003-03-14
- relates to
-
JDK-4830291 javac makes String non-backward compatible
- Resolved
-
JDK-4810933 Comparable.compareTo() now typesafe; enum is now a keyword
- Resolved