On Wed, Sep 15, 2010 at 6:35 PM, Wayne Meissner <wmeiss...@gmail.com> wrote:
> On 16 September 2010 07:08, Yoko Harada <yoko...@gmail.com> wrote:
>> Hi,
>>
>> A compilation of src/org/jruby/RubyTuple.java fails on JDK5 since this
>> class uses a method newly defined in JDK6.
>> The method is ary = Arrays.copyOf(ary, ary.length * 3 / 2 + 1); on line 52.
>>
>> Does JRuby stop supporting JDK5?
>
> Nope.  That should be fixed to work on 1.5 - either add a
> copyOfArray() method in a utility class somewhere which does the same
> thing as Arrays.copyOf(), or write the code inline.
>
> Probably create org/jruby/util/ArrayUtil and dump the implementation
> of copyOf() in there.

Ah, so just a mistake. I got it.
Will someone work on this?

-Yoko

>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to