See 4810933 for a description of a minor incompatibility introduced
when generics are enabled. The test test/java/lang/String/Exceptions.java
runs afoul of that by virtue of containing the code
"foo".compareTo((Object) null);
The suggested change is to either (1) force compilation with -source 1.4,
or (2) remove the cast to Object.
==========================
On second thought, the default compiler options include -source 1.4.
This is therefore a compiler bug.
###@###.### 2003-03-10
when generics are enabled. The test test/java/lang/String/Exceptions.java
runs afoul of that by virtue of containing the code
"foo".compareTo((Object) null);
The suggested change is to either (1) force compilation with -source 1.4,
or (2) remove the cast to Object.
==========================
On second thought, the default compiler options include -source 1.4.
This is therefore a compiler bug.
###@###.### 2003-03-10
- relates to
-
JDK-4810933 Comparable.compareTo() now typesafe; enum is now a keyword
- Resolved
-
JDK-4833095 test/java/lang/String/Exceptions.java fails to compile when generics are enabled
- Resolved