Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.7.3
-
None
Description
I found that the following jclouds-karaf commands cache the System.out object:
- BlobListCommand
- BlobMetadataCommand
- ContainerMetadataCommand
Specifically, the following happens:
private static final PrintStream out = System.out;
And the reference is subsequently used when printing the output. This is problematic, as a caller may modify the System.out with System.setOut and observe that the output is not pushed to the expected stream/file descriptor.