loop does not rescue StopIteration in --1.9
-------------------------------------------
Key: JRUBY-3599
URL: http://jira.codehaus.org/browse/JRUBY-3599
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.2
Environment: 588/92 > uname -a && ./bin/jruby --1.9 -v
Linux siena 2.6.27-11-generic #1 SMP Wed Apr 1 20:57:48 UTC 2009 i686 GNU/Linux
jruby 1.2.0 (ruby 1.9.1 patchlevel 0) (2009-04-24 rev 6586) [i386-java]
Reporter: Robert Dober
Attachments: patch_for_ruby_kernel_loop_1_9, test_loop_1_9.rb
loop do
raise StopIteration
end
does just raise the exception but not rescue it
Notes:
(1) apply patch with -p1 on root dir (that is src/..)
(2) not tested very well just with -e as ant test does not seem to cover --1.9
and optparse does not run with --1.9
--
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