You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2011/03/23 21:41:06 UTC

[jira] [Commented] (THRIFT-633) Generated code has @Override annotations which won't compile using Apple's JDK 1.5

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

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

Tested on os x using latest version of java provided by apple and had no issues, Mathias are you still having issues with this?

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira