-------- Original Message --------
From: Reto Schüttel (JIRA)
Sent: Wed, 31/10/2012 12:21
To: dev@jruby.codehaus.org
CC:
Subject: [jruby-dev] [jira] (JRUBY-6978) try/rescue should treat native Exceptions like rubys StandardError

Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0
Assignee: Unassigned
Components: Core Classes/Modules
Created: 31/Oct/12 11:21 AM
Description:

This is a followup of JRUBY-6977

The ruby 'rescue => e' should catch 'normal' Java exceptions (Exceptions which extend java.lang.Exception). On the other hand, java.lang.Error should probably be ignored. This used to be the behaviour before 1.7.0.

Headius and Enebo discussed in the IRC chat that java.lang.Exception should be treated like Ruby's StandardError Exceptions.

Thanks!
Reto

Project: JRuby
Priority: Major Major
Reporter: Reto Schüttel
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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