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: Bryan Duxbury 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.