Relates :
|
|
Relates :
|
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.