[Jruby-extras-devel] [ jruby-extras-Bugs-27002 ] Javasand doesn't maintain state across evals

noreply at rubyforge.org noreply at rubyforge.org
Wed Aug 26 19:03:26 EDT 2009


Bugs item #27002, was opened at 2009-08-26 19:03
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=7857&aid=27002&group_id=2014

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jonathan Rudenberg (titanous)
Assigned to: Nobody (None)
Summary: Javasand doesn't maintain state across evals

Initial Comment:
    >> s = Sandbox.new
    => #<Sandbox::Full:0x6691da @options={}>
    >> s.eval 'a = 1'
    => 1
    >> s.eval 'a'
    Sandbox::Exception: NameError: undefined local variable or method `a' for main:Object

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=7857&aid=27002&group_id=2014


More information about the Jruby-extras-devel mailing list