-
Enhancement
-
Resolution: Unresolved
-
P3
-
None
-
7
-
None
-
generic
-
generic
As part of the non-core API generification in Tiger (4964490), implementation of Name in javax.naming were generified as Comparable<Object> rather than Comparable<ConcreteNameClass>. However, the classes in question are actually only Comparable against themselves, rather than against Object or the Name interface. Therefore, the desired compile-time checking cannot occur.
However, a complicating factor is that the classes in question are not final.
However, a complicating factor is that the classes in question are not final.
- relates to
-
JDK-4964490 Generify non-core APIs
-
- Resolved
-
-
JDK-6581204 Reconsider Comparable generification in java.io.ObjectStreamField
-
- Open
-