Threading issues in 1.6.0 and 1.9 mode
--------------------------------------
Key: JRUBY-5712
URL: http://jira.codehaus.org/browse/JRUBY-5712
Project: JRuby
Issue Type: Bug
Components: Standard Library
Reporter: Mike Perham
Assignee: Thomas E Enebo
First issue, 1.9.2 documents Mutex#sleep(time) as a public method. It appears
to be private in 1.6.0. http://www.ruby-doc.org/core/classes/Mutex.html#M001058
Second issue, I have a threaded test which passes in 1.9.2-p180 but fails in
1.6.0. It should be easy to reproduce:
{noformat}
git clone git://github.com/mperham/girl_friday
cd girl_friday
rvm use 1.9.2
ruby -Ilib:test test/test_girl_friday.rb
rvm use jruby-1.6.0
jruby --1.9 -Ilib:test test/test_girl_friday.rb
{noformat}
Here's the output I see:
{noformat}
> jruby --1.9 -Ilib:test test/test_girl_friday.rb
jruby 1.6.0 (ruby 1.9.2 patchlevel 136) (2011-03-15 f3b6154) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_24) [darwin-x86_64-java]
Loaded suite test/test_girl_friday
Started
Interrupted
> rvm use 1.9.2
Using /Users/mperham/.rvm/gems/ruby-1.9.2-p180
> ruby -Ilib:test test/test_girl_friday.rb
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]
Loaded suite test/test_girl_friday
Started
..
Finished in 0.005063 seconds.
2 tests, 1 assertions, 0 failures, 0 errors, 0 skips
Test run options: --seed 6823
{noformat}
Specifically I have no idea how to debug the "Interrupted" message.
--
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