A JumpException$BreakJump error is thrown when breaking from an ensure block  
folllowed by another ensure block
---------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-3540
                 URL: http://jira.codehaus.org/browse/JRUBY-3540
             Project: JRuby
          Issue Type: Bug
          Components: Compiler
    Affects Versions: JRuby 1.2
         Environment: All
            Reporter: Jean-Dominique Morani
         Attachments: break_issue.rb

This error only happens when multiple threads are executing the block. Please 
see attached patch in order to replicate the problem.
It is originally a problem affecting DRb (drb/drb.rb line 1591) that I reduced 
to the attached patch.

A simple workaround for now is to comment out the ensure block that wraps the 
break

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to