Re: [jruby-dev] RubyTuple.java compilation fails on JDK 5

2010-09-16 Thread Yoko Harada
On Wed, Sep 15, 2010 at 7:47 PM, Wayne Meissner wrote: > On 16 September 2010 09:29, Yoko Harada wrote: >>> 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? > > You may as well jump

Re: [jruby-dev] RubyTuple.java compilation fails on JDK 5

2010-09-15 Thread Wayne Meissner
On 16 September 2010 09:29, Yoko Harada wrote: >> 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? You may as well jump in and fix it yourself, if you have the time. Otherwise, you'll h

Re: [jruby-dev] RubyTuple.java compilation fails on JDK 5

2010-09-15 Thread Yoko Harada
On Wed, Sep 15, 2010 at 6:35 PM, Wayne Meissner wrote: > On 16 September 2010 07:08, Yoko Harada 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 +

Re: [jruby-dev] RubyTuple.java compilation fails on JDK 5

2010-09-15 Thread Wayne Meissner
On 16 September 2010 07:08, Yoko Harada 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. Th

[jruby-dev] RubyTuple.java compilation fails on JDK 5

2010-09-15 Thread Yoko Harada
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? -Yoko --