![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.0 |
Assignee:
|
Unassigned |
Components:
|
Java Integration |
Created:
|
21/Feb/13 6:42 AM
|
Description:
|
In versions of JRuby < 1.7, it was possible to get at at java.lang.StackOverflowError exception thrown by Java code called from JRuby. However, in 1.7, it's not possible to get it any more because it's just dropped:
(in Ruby.java)
public RaiseException newSystemStackError(String message, StackOverflowError soe) {
if (getDebug().isTrue()) {
LOG.debug(soe.getMessage(), soe);
}
return newRaiseException(getSystemStackError(), message);
}
It would be very useful to have access to this exception. My application calls Rhino to interpret _javascript_ code, and access to the underlying Java exception is essential to be able to report where the problem lies in the _javascript_ code which caused it.
|
Project:
|
JRuby
|
Priority:
|
Minor
|
Reporter:
|
Ben Summers
|
|
|
|
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