Vladimir Sizikov wrote:
[...]
I've changed call:

   RubyProc proc = RubyKernel.proc(recv, block);

to:

   ThreadContext ctx = ThreadContext.newContext(recv.getRuntime());
   RubyProc proc = RubyKernel.proc(ctx, recv, block);

Is that right? If yes, the original method could be taken back.

How about this one:

ThreadContext ctx = recv.getRuntime().getCurrentContext();

Thanks, I was blind :) Will use it.

If they are not taken back it would mean that already released
extensions like (j)ruby-debug-base will not work with JRuby 1.1.3. I've
supposed that during minor version increase (1.1.x) the API is kept. Is
that right assumption so above is a bug? I would file it.

Please file a blocker bug with 1.1.3 target release. That way, we'll
deal with it one way or another before the release.

http://jira.codehaus.org/browse/JRUBY-2808

Btw, are those two methods the only ones that you see breaking your code?

Yes, the only ones in ruby-debug-base extensions.

Thanks,
        m.

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

   http://xircles.codehaus.org/manage_email


Reply via email to