Process.getpriority should raise an error with an invalid process type
----------------------------------------------------------------------
Key: JRUBY-5463
URL: http://jira.codehaus.org/browse/JRUBY-5463
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6RC1
Environment: jruby 1.6.0.RC1 (ruby 1.8.7 patchlevel 330) (2011-02-08
8127b80) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_22) [darwin-x86_64-java]
Reporter: Daniel Berger
Process.getpriority with an invalid process type should raise an error.
{code}Process.getpriority(9999, 0) # => Errno::EINVAL{code}
MRI raises an Errno::EINVAL. Jruby returns -1.
--
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