[
https://issues.apache.org/jira/browse/THRIFT-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123962#comment-13123962
]
Rajika Kumarasiri commented on THRIFT-633:
------------------------------------------
I got this when generating java service for a simple IDL on Linux.
Environment : Fedora 15, Sun JDK - 1.6.0_17.
Rajika
> 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
>
> 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