-
Bug
-
Resolution: Fixed
-
P1
-
5.0
-
b59
-
generic, x86
-
generic, linux, solaris_8
interface AttributeSet {
Attribute get(Class category);
}
and an implementation:
class AttributeSetImpl implements AttributeSet {
Attribute get(Class category) { ... }
}
Now generify the interface:
interface AttributeSet {
Attribute get(Class<?> category);
}
Now, according to the compiler, the class AttributeSetImpl no longer overrides the get method.
###@###.### 2004-07-12
- duplicates
-
JDK-5071830 Incompatible generification of javax.swing.JList
- Closed
-
JDK-5072382 awt generifications break existing subclasses
- Closed
-
JDK-5072384 javax.print generifications break existing subclasses
- Closed
-
JDK-5078184 REGRESSION: Source code compiled in 1.4 does no longer compile in 1.5
- Closed
-
JDK-5072999 Generified ResultSet methods break backwards compatibility
- Closed
- relates to
-
JDK-6178365 Compile Error - Abstract error in LoginModule
- Closed
-
JDK-5078378 REGRESSION: Following code compiles in 1.4.x but does not in 1.5.
- Closed