Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • Patch Available

    Description

      This is a trivial fix. There are two createOutputStreamInstance() methods in the ImageOutputStreamSpi class.
      1. public ImageOutputStream createOutputStreamInstance(Object output)
      2. public abstract ImageOutputStream createOutputStreamInstance(Object output, boolean useCache, File cacheDir)
      If getUseCache is true, we should call the second method. otherwise, the first method will be called.

      Same thing for the createInputStreamInstance() method.

      Attachments

        1. HARMONY-6609.diff
          1 kB
          Lang Yang

        Activity

          hindessm Mark Hindess added a comment -

          Applied patch in r986141. Please confirm (by closing this JIRA) that it has been applied as expected.

          hindessm Mark Hindess added a comment - Applied patch in r986141. Please confirm (by closing this JIRA) that it has been applied as expected.
          hudson Hudson added a comment -

          Integrated in Harmony-1.5-head-linux-x86_64 #934 (See https://hudson.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/934/)
          Applying patch from "HARMONY-6609 use cache in createImageInputStream()
          & createImageOutputStream".

          hudson Hudson added a comment - Integrated in Harmony-1.5-head-linux-x86_64 #934 (See https://hudson.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/934/ ) Applying patch from " HARMONY-6609 use cache in createImageInputStream() & createImageOutputStream".
          hudson Hudson added a comment -

          Integrated in Harmony-select-1.5-head-linux-x86_64 #95 (See https://hudson.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/95/)
          Applying patch from "HARMONY-6609 use cache in createImageInputStream()
          & createImageOutputStream".

          hudson Hudson added a comment - Integrated in Harmony-select-1.5-head-linux-x86_64 #95 (See https://hudson.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/95/ ) Applying patch from " HARMONY-6609 use cache in createImageInputStream() & createImageOutputStream".
          yanglang Lang Yang added a comment -

          Verified. Thanks Mark

          yanglang Lang Yang added a comment - Verified. Thanks Mark

          People

            hindessm Mark Hindess
            yanglang Lang Yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment