Issue Type: Bug Bug
Affects Versions: JRuby 1.7.1, JRuby 1.6.7, JRuby 1.7.2
Assignee: Unassigned
Attachments: test.rb
Components: Core Classes/Modules
Created: 02/Jan/13 8:46 AM
Description:

What steps will reproduce the problem?
Run the attached script test.rb

What is the expected output? What do you see instead?
I would expect output to be redirected like in MRI.

Additional information

jruby 1.6.7.2
Errno::EBADF: Bad file descriptor - Bad file descriptor
(root) at test.rb:14

jruby 1.6.7.2 --1.9
Errno::EBADF: Bad file descriptor - Bad file descriptor
(root) at test.rb:14

jruby 1.7.1 (1.9.3p327)
Errno::EBADF: Bad file descriptor - Bad file descriptor
(root) at test.rb:14

jruby 1.7.2.dev (1.9.3p327) 2013-01-02 (rvm install jruby-head) fffffff on Java HotSpot(TM) 64-Bit Server VM 1.6.0_37-b06-434-11M3909 [darwin-x86_64]
Errno::EBADF: Bad file descriptor - Bad file descriptor
(root) at test.rb:14

ruby 1.9.3-p194
I, 2013-01-02T14:10:19.076856 #53379 INFO – : INTERCEPTED: Should be intercepted
I, 2013-01-02T14:10:19.077363 #53379 INFO – : INTERCEPTED:

Should not be intercepted

ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
I, 2013-01-02T14:14:51.521904 #53685 INFO – : INTERCEPTED: Should be intercepted
I, 2013-01-02T14:14:51.553957 #53685 INFO – : INTERCEPTED:

Should not be intercepted

Environment: Mac OS X 10.7.3

$ uname -a
Darwin lon032maclocal.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
Project: JRuby
Priority: Minor Minor
Reporter: Richard Nienaber
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