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

Certain jclouds-karaf commands cache System.out

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.3
    • 1.8.0
    • jclouds-karaf
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: