Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 42431 invoked from network); 17 Aug 2010 04:17:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Aug 2010 04:17:41 -0000 Received: (qmail 24200 invoked by uid 500); 17 Aug 2010 04:17:41 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 24098 invoked by uid 500); 17 Aug 2010 04:17:38 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 24072 invoked by uid 99); 17 Aug 2010 04:17:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 04:17:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 04:17:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7H4HHAw026302 for ; Tue, 17 Aug 2010 04:17:17 GMT Message-ID: <10481461.386751282018637274.JavaMail.jira@thor> Date: Tue, 17 Aug 2010 00:17:17 -0400 (EDT) From: "Lang Yang (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-6610) reset bitOffset in the ImageInputStreamImpl.reset() In-Reply-To: <24838553.225001281292156160.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HARMONY-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lang Yang closed HARMONY-6610. ------------------------------ Verified. Thanks. > 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 > Assignee: Mark Hindess > 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.