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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Java - Compiler
    • None
    • 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

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

            Dates

              Created:
              Updated: