Charles Oliver Nutter
12/19/2008 7:13:00 PM
Jim Menard wrote:
> On Fri, Dec 19, 2008 at 10:35 AM, Charles Oliver Nutter
> <charles.nutter@sun.com> wrote:
>
>> We have hopefully not broken any methods on RubyArray or RubyHash that
>> you're using; let us know if we have. Our intention has always been to keep
>> methods available until we deprecate them for several revisions, though we
>> occasionally slip up.
>
> The mods to my RubyArray and RubyHash subclasses were pretty
> painless---mostly supporting the new *19 methods and adding a context
> to an arg list here and there.
>
> However, I'm having problems with invokeSuper(). I used to use
> invokeAs() and pass in the superclass, but the signature of invokeAs()
> has changed. When I call invokeSuper() I'm seeing a NPE. It's because
> context.getFrameKlazz() is returning null.
>
> I've written up this description in much more detail on the JRuby list.
>
>> I think the performance improvements and bug fixes alone will be worth
>> making the move at any rate.
>
> I want to do it, really. I just have to get past this invokeSuper()
> NPE...and then see what's next, of course.
We should probably talk a bit more about how you're using the core JRuby
classes. We have plans in the future that could more drastically change
some of the core classes, and it sounds like you would certainly be
affected by such changes.
- Charlie