Please improve @Override diagnostics

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P5
    • 6
    • Affects Version/s: 6
    • Component/s: tools
    • None
    • 5.0
    • 5.0
    • generic
    • generic

      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

            Assignee:
            Peter Ahe
            Reporter:
            Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: