ensures within threads are not properly executed when killing the thread
------------------------------------------------------------------------
Key: JRUBY-3571
URL: http://jira.codehaus.org/browse/JRUBY-3571
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.2, JRuby 1.1.6
Environment: Tested on Ubuntu/Linux on x86 32-bit as well as Mac OS X
Leopard 32-bit
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java]
Reporter: Andrea Barisani
Assignee: Thomas E Enebo
Attachments: test_case.rb
See the attached test case. Ruby 1.8.6 correctly run the ensure while jruby
doesn't.
$ ruby test_case.rb
Loaded suite test_case
Started
.
Finished in 0.015643 seconds.
1 tests, 1 assertions, 0 failures, 0 errors
$ jruby test_case.rb
Loaded suite test_case
Started
F
Finished in 0.198 seconds.
1) Failure:
test_ensure_when_killing_threads(TestThread) [test_case.rb:41]:
<false> is not true.
1 tests, 1 assertions, 1 failures, 0 errors
--
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