[Jruby-devel] Re: Patch: Binding and eval using it

2006-01-22 Thread Charles O Nutter
Grr. It introduced some other problem resulting in a NPE in ConstNodeVisitor (strikingly similar to the JVM issue I ran into, but does not go away with any combination of JVM or interpreted mode). Back to the drawing board. - Charliie On 1/22/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: > I'm

[Jruby-devel] Re: Patch: Binding and eval using it

2006-01-22 Thread Charles O Nutter
I'm going with the binding2 patch on my branch. It doesn't add 100% support for bindings, but it works for the most obvious ones. This eliminates a couple failures in CRuby's test_env. On 1/22/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: > A version cloning all of ThreadContext. Same results in

[Jruby-devel] Re: Patch: Binding and eval using it

2006-01-22 Thread Charles O Nutter
A version cloning all of ThreadContext. Same results in test_eval in C Ruby source...one additional success, but still other failures. Seems to have something to do with how we scope/frame lambdas. - Charlie On 1/22/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: > A few fixes. I added a couple t

[Jruby-devel] Re: Patch: Binding and eval using it

2006-01-21 Thread Charles O Nutter
A few fixes. I added a couple tests to Rubicon for this (TestBinding was empty before) and found some impl issues. - Charlie On 1/22/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: > Here's a quick patch to add RubyBinding and make RubyKernel.eval > (actually RubyObject.eval) work correctly with