Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-616

Certain jclouds-karaf commands cache System.out

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.3
    • Fix Version/s: 1.8.0
    • Component/s: jclouds-karaf
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              timuralp Timur Alperovich
              Reporter:
              timuralp Timur Alperovich
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: