It would be useful to be able to use StreamCopier with System.out/System.err, however the output strem is closed at the end. This prevents any output appearing. The output stream should only be closed if it is not System.out/.err The same consideration does not apply to System.in, as it would be read until EOF anyway.
URL: http://svn.apache.org/r1519529 Log: StreamCopier cannot be used with System.err or System.out as it closes the output stream Bugzilla Id: 55513 Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/exec/StreamCopier.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3222