rails patches class Exception but java RuntimeException does not have patched
methods
-------------------------------------------------------------------------------------
Key: JRUBY-4886
URL: http://jira.codehaus.org/browse/JRUBY-4886
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Environment: rails 2.3.8, jruby 1.5.x
Reporter: kristian meier
Attachments: test.rb
rails patches class Exception, see here
./activesupport-2.3.8/lib/active_support/core_ext/exception.rb
when somehow a java RuntimeException gets thrown it will be handle as ruby
Exception but does not have the patched methods from the above. which results
in a methods missing "application_backtrace" for the rails error page.
simple example see attached file.
unfortunately this flaw hides the real cause of the problems since the actual
stack-trace is not accessible.
--
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