1.9: ConditionVariable#wait should not accept negative intervals
----------------------------------------------------------------
Key: JRUBY-4955
URL: http://jira.codehaus.org/browse/JRUBY-4955
Project: JRuby
Issue Type: Improvement
Environment: jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-07-13
23c2ef7) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
Reporter: Roger Pack
Assignee: Thomas E Enebo
In MRI:
a = Mutex.new; a.synchronize { ConditionVariable.new.wait(a, -0.01) }
ArgumentError: time interval must be positive
--
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