Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6196694

Please improve @Override diagnostics

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Introduced In Build:
      5.0
    • Introduced In Version:
      5.0
    • CPU:
      generic
    • OS:
      generic

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: