Exceptions at toplevel appear to be broken
------------------------------------------
Key: JRUBY-3345
URL: http://jira.codehaus.org/browse/JRUBY-3345
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.6
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
Fix For: JRuby 1.2
{noformat}
◆ jruby -e "yield"
ThreadContext.java:638:in `addBackTraceElement': java.lang.NullPointerException
from ThreadContext.java:748:in `createBacktraceFromFrames'
from ThreadContext.java:707:in `createBacktraceFromFrames'
from RubyException.java:184:in `initBacktrace'
from RubyException.java:170:in `getBacktrace'
from RubyException.java:203:in `backtrace'
from
org/jruby/RubyException$i_method_0_0$RUBYINVOKER$backtrace.gen:-1:in `call'
from RubyClass.java:428:in `finvoke'
from RuntimeHelpers.java:388:in `invoke'
from RubyBasicObject.java:301:in `callMethod'
from Ruby.java:2157:in `printError'
from Main.java:235:in `run'
from Main.java:100:in `run'
from Main.java:84:in `main'
{noformat}
and
{noformat}
◆ jruby -e "callcc {|cc| cc}.call"
null:1:in `call': continuations can not be called from outside their scope
(LocalJumpError)
from -e:1
{noformat}
--
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