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

          People

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

            Dates

              Created:
              Updated:
              Resolved: