Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-633

Generated code has @Override annotations which won't compile using Apple's JDK 1.5

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Java - Compiler
    • Labels:
      None
    • Environment:

      Mac OS X Tiger/Leopard JDK 1.5

      Description

      Apple's JDK 1.5 does not recognize @Override annotation. Tests fail with error:

      [javac] /private/var/tmp/thrift-trunk/lib/java/gen-java/thrift/test/ComparableUnion.java:251: method does not override a method from its superclass
      [javac] @Override
      [javac] ^

        Attachments

        1. course.thrift
          0.8 kB
          Rajika Kumarasiri

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              herberts Mathias Herberts
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: