[ 
https://issues.apache.org/jira/browse/AVRO-597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889221#action_12889221
 ] 

Thiruvalluvan M. G. commented on AVRO-597:
------------------------------------------

Do we want to set the requirement to "Avro requires JDK 1.5 or later to build" 
or "Avro requires JRE 1.5 or later to run"? If the choose the former, the patch 
is good. But if we choose the latter, just replacing Array.copyOf() with 
ArrayUtil.copyOf() should be sufficient.

I personally choose the second requirement. That's if one needs to build or 
modify Avro, he/she needs JDK 1.6. But Avro jar file can be used with JRE 1.5.

> Avro should be usable from JDK 1.5 programs
> -------------------------------------------
>
>                 Key: AVRO-597
>                 URL: https://issues.apache.org/jira/browse/AVRO-597
>             Project: Avro
>          Issue Type: Improvement
>          Components: build, java
>    Affects Versions: 1.3.3
>            Reporter: Jon Travis
>             Fix For: 1.4.0
>
>         Attachments: avro-597-jdk15.patch
>
>
> Our application needs to run on a 1.5 JDK, but Avro classes are built for 
> 1.6. 
> The change to get this to work are pretty minimal.  
>   - Removed @Override on interfaces, since 1.5 does not support this
>   - Replace usage of Arrays.copyOf with our own version of it

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to