(f) no warning when overriding a deprecated method
Brought to you by:
cabbey,
daveshields
javac 1.5.0 warns if you override a deprecated method. jikes 1.21 doesn't.
; cat > C.java
class C extends java.awt.Component {
public void enable() {
super.enable();
}
}
; javac -deprecation C.java
# two diagnostics, one for the override, one for the invocation.
; jikes -deprecation C.java
# one diagnostic, for the invocation.
fixed in CVS.