You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mark Slee (JIRA)" <ji...@apache.org> on 2011/01/28 23:28:43 UTC
[jira] Resolved: (THRIFT-1051) Applying @Override to interface
method breaks compile on Java 1.5
[ https://issues.apache.org/jira/browse/THRIFT-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Slee resolved THRIFT-1051.
-------------------------------
Resolution: Fixed
Assignee: Mark Slee (was: Bryan Duxbury)
Committed revision 1064911.
> Applying @Override to interface method breaks compile on Java 1.5
> -----------------------------------------------------------------
>
> Key: THRIFT-1051
> URL: https://issues.apache.org/jira/browse/THRIFT-1051
> Project: Thrift
> Issue Type: Bug
> Components: Java - Library
> Affects Versions: 0.6
> Environment: Java 1.5 compiler
> Reporter: Mark Slee
> Assignee: Mark Slee
> Attachments: client_manager_override.patch
>
>
> Applying the @Override annotation to an interface method breaks compile on Java 1.5. Only use this on true class method overrides.
> compile:
> [javac] Compiling 80 source files to /tmp/thrift-0.6.0/lib/java/build
> [javac] /tmp/thrift-0.6.0/lib/java/src/org/apache/thrift/async/TAsyncClientManager.java:186: method does not override a method from its superclass
> [javac] @Override
> [javac] ^
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 1 error
> BUILD FAILED
> /tmp/thrift-0.6.0/lib/java/build.xml:137: Compile failed; see the compiler error output for details.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.