clone of stderr and stdout not working --------------------------------------
Key: JRUBY-3778 URL: http://jira.codehaus.org/browse/JRUBY-3778 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.3.1, JRuby 1.3 Environment: Red Hat Enterprise Linux Server release 5.3 Quad-Core AMD Opteron(tm) Processor 2378 java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode) Reporter: Rick Ohnemus The following little snippet outputs "orignal" and "clone" when run under MRI. It only outputs "original" when run under jruby. {code} $real_stdout = $stdout.clone $stdout.puts 'original' $real_stdout.puts 'clone' {code} -- 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