JDK-6196694 : Please improve @Override diagnostics
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-11-17
  • Updated: 2010-04-02
  • Resolved: 2005-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6Resolved
Related Reports
Duplicate :  
Relates :  
Description
The error message for @Override could be more informative.  Also, the position is questionable.

$ new javac Example.java
Example.java:10: method does not override a method from its superclass
    @Override
    ^

###@###.### 2004-11-17 18:09:54 GMT

Comments
EVALUATION We should address this as part of 4994049. ###@###.### 2004-11-17 18:09:54 GMT
17-11-2004