harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lang Yang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6610) reset bitOffset in the ImageInputStreamImpl.reset()
Date Sun, 08 Aug 2010 18:29:16 GMT
reset bitOffset in the ImageInputStreamImpl.reset()
---------------------------------------------------

                 Key: HARMONY-6610
                 URL: https://issues.apache.org/jira/browse/HARMONY-6610
             Project: Harmony
          Issue Type: Sub-task
          Components: Classlib
            Reporter: Lang Yang
         Attachments: HARMONY-6610.diff

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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message