[ 
https://issues.apache.org/jira/browse/THRIFT-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124276#comment-13124276
 ] 

Jake Farrell commented on THRIFT-633:
-------------------------------------

Rajika, There is a java5 flag available a generation time which will help you 
generate java 1.5 compatible code. Can you please attach your idl, error log 
and java -version output 
                
> 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

        

Reply via email to