Issue Type: Bug Bug
Affects Versions: JRuby 1.7.4, JRuby 1.7.5
Assignee: Thomas E Enebo
Components: Standard Library
Created: 04/Jun/13 5:26 AM
Description:

JRuby built from 0e616ba7acf058f48336ccd0a20e0ab80a6b99b6

$ ./bin/jruby -v -e 'p IO.pipe.first.stat.size'
jruby 1.7.5.dev (1.9.3p392) 2013-06-04 0e616ba on OpenJDK 64-Bit Server VM 1.7.0_21-b02 [linux-amd64]
Errno::EBADF: Bad file descriptor - -1
stat at org/jruby/RubyIO.java:3184
(root) at -e:1

MRI:

$ ruby -v -e 'p IO.pipe.first.stat.size'
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-darwin12.2.1]
0

Rubinius:

$ rbx -X19 -v -e 'p IO.pipe.first.stat.size'
rubinius 2.0.0.rc1 (1.9.3 release yyyy-mm-dd JI) [x86_64-apple-darwin12.2.1]
0

Thanks!

Environment: jruby 1.7.5.dev (1.9.3p392) 2013-06-04 0e616ba on OpenJDK 64-Bit Server VM 1.7.0_21-b02 [linux-amd64]
Project: JRuby
Priority: Major Major
Reporter: Lin Jen-Shin
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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

Reply via email to