Details

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

    Description

      Spec - http://download.oracle.com/javase/1.4.2/docs/api/javax/imageio/stream/ImageInputStreamImpl.html#reset()

      The current implementation leaves bitOffset unchanged when reset() method is being called.

      In order to mark and reset bitOffset value, I have created a OffsetStack. Push bitOffset value to the stack when mark() is called. Pop bitOffset value from the stack when the reset() is called.

      Attachments

        1. HARMONY-6610.diff
          1 kB
          Lang Yang

        Activity

          yanglang Lang Yang added a comment -

          Verified. Thanks.

          yanglang Lang Yang added a comment - Verified. Thanks.
          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-6610 reset bitOffset in the
          ImageInputStreamImpl.reset()".

          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-6610 reset bitOffset in the ImageInputStreamImpl.reset()".
          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-6610 reset bitOffset in the
          ImageInputStreamImpl.reset()".

          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-6610 reset bitOffset in the ImageInputStreamImpl.reset()".
          hindessm Mark Hindess added a comment -

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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: