incorrect break out of method produces error in compiled mode, but silent in 
interpreted mode
---------------------------------------------------------------------------------------------

                 Key: JRUBY-1630
                 URL: http://jira.codehaus.org/browse/JRUBY-1630
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.x
         Environment: JRuby 1.1b1
            Reporter: Vladimir Sizikov
            Assignee: Thomas E Enebo


The following (intentionally incorrect) code:

def bad_meth_break
  break
end

bad_meth_break()

Produces LocalJumpError under MRI and under JRuby in compiled mode (+C).
But in interpreted mode: jruby -C, no error is produced.


-- 
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