[
https://issues.apache.org/jira/browse/THRIFT-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131242#comment-13131242
]
Jake Farrell commented on THRIFT-633:
-------------------------------------
Rajika, what IDE are you using thats complaining about the @Override? Have you
changed the default java version to be 1.6 within the IDE? Are you able to
successfully compile run the generated code?
> Generated code has @Override annotations which won't compile using Apple's
> JDK 1.5
> ----------------------------------------------------------------------------------
>
> Key: THRIFT-633
> URL: https://issues.apache.org/jira/browse/THRIFT-633
> Project: Thrift
> Issue Type: Bug
> Components: Java - Compiler
> Environment: Mac OS X Tiger/Leopard JDK 1.5
> Reporter: Mathias Herberts
> Assignee: Jake Farrell
> Attachments: course.thrift
>
>
> 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] ^
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira