You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Philip Hamer (JIRA)" <ji...@apache.org> on 2016/10/14 21:54:20 UTC
[jira] [Updated] (THRIFT-3946) Java 1.5 compatibility broken for
binary fields (java5 option)
[ https://issues.apache.org/jira/browse/THRIFT-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philip Hamer updated THRIFT-3946:
---------------------------------
Attachment: thrift-3946-java5-binary-arrays-copyof.patch
uses clone() instead of Arrays.copyOf
> Java 1.5 compatibility broken for binary fields (java5 option)
> --------------------------------------------------------------
>
> Key: THRIFT-3946
> URL: https://issues.apache.org/jira/browse/THRIFT-3946
> Project: Thrift
> Issue Type: Bug
> Components: Java - Compiler
> Affects Versions: 0.9.3
> Reporter: Philip Hamer
> Labels: java5
> Attachments: thrift-3946-java5-binary-arrays-copyof.patch
>
>
> For binary fields, even with the java5 option (--gen java:java5), generated code uses "Arrays.copyOf", which is only available in Java 1.6+.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)