[ https://issues.apache.org/jira/browse/THRIFT-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038274#comment-13038274 ]
Hudson commented on THRIFT-1170: -------------------------------- Integrated in Thrift #147 (See [https://builds.apache.org/hudson/job/Thrift/147/]) THRIFT-1170. java: Thrift Generated Code and Java 5 This patch adds a trivial java5 option to the java generator. Patch: Greg Moulliet bryanduxbury : http://svn.apache.org/viewvc/?view=rev&rev=1126765 Files : * /thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc * /thrift/trunk/lib/java/src/org/apache/thrift/TUnion.java > Thrift Generated Code and Java 5 > -------------------------------- > > Key: THRIFT-1170 > URL: https://issues.apache.org/jira/browse/THRIFT-1170 > Project: Thrift > Issue Type: Improvement > Components: Java - Compiler > Affects Versions: 0.6.1 > Reporter: Greg Moulliet > Assignee: Greg Moulliet > Fix For: 0.7 > > Attachments: java5.patch, java5_trunk.patch > > > The Thrift Java compiler creates code that is not compliant with Java 5. > One issue is the @Override annotation on the clear() method. > The other issue is creating a IOException with a TException as a parameter in > writeObject and readObject. > The attached patch creates a new option for the compiler, java5, which > outputs java 5 compliant code. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira