IO.read with negative length raises NativeException
---------------------------------------------------
Key: JRUBY-1078
URL: http://jira.codehaus.org/browse/JRUBY-1078
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.0.0RC2
Environment: Solaris 10, Java 1.5, JRuby 007-05-31 rev 3672
Reporter: Daniel Berger
This little snippet should raise an ArgumentError:
{noformat}
IO.read('some_file.txt', -2)
{noformat}
JRuby dumps a NativeException.
--
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