Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.6.0SDK
    • Fix Version/s: 2.7.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      There are 2 instance in AnalysisEngineDescription_implTest which have code which declares an @Override on a method signature inherited from a superinterface (not a superclass). The Java Language Spec ( http://docs.oracle.com/javase/specs/jls/se5.0/html/interfaces.html#9.6.1.4 ) says this will cause a compile-time error to do this. For some reason, this hasn't been observed as an error, until today, when Eclipse started flagging it as one. The fix is simple - remove the @Override.

        Activity

        Hide
        schor Marshall Schor added a comment -

        committed on the 2.6.0-json branch (which will be merged back before 2.6.1 release).

        Show
        schor Marshall Schor added a comment - committed on the 2.6.0-json branch (which will be merged back before 2.6.1 release).
        Hide
        rec Richard Eckart de Castilho added a comment -

        I thought we are on Java 6 now and @override for methods inherited from interface is valid there:

        http://bugs.java.com/bugdatabase/view_bug.do?bug_id=5008260

        http://dertompson.com/2008/01/25/override-specification-changes-in-java-6/

        Show
        rec Richard Eckart de Castilho added a comment - I thought we are on Java 6 now and @override for methods inherited from interface is valid there: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=5008260 http://dertompson.com/2008/01/25/override-specification-changes-in-java-6/

          People

          • Assignee:
            schor Marshall Schor
            Reporter:
            schor Marshall Schor
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development