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.

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

    http://xircles.codehaus.org/manage_email


Reply via email to