Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 22688 invoked from network); 1 Jun 2007 07:19:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jun 2007 07:19:37 -0000 Received: (qmail 60497 invoked by uid 500); 1 Jun 2007 07:19:40 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 60465 invoked by uid 500); 1 Jun 2007 07:19:40 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 60456 invoked by uid 99); 1 Jun 2007 07:19:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 00:19:40 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 00:19:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B930714180 for ; Fri, 1 Jun 2007 00:19:15 -0700 (PDT) Message-ID: <7539783.1180682355634.JavaMail.jira@brutus> Date: Fri, 1 Jun 2007 00:19:15 -0700 (PDT) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2742) LoopingAlphabetStream.read() returns invalid values In-Reply-To: <19572477.1180682055589.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-2742: ----------------------------------- Attachment: derby-2742-1a.diff 'derby-2742-1a.diff' fixes the bug. Ran derbyall and suites.All without related errors. Committed to trunk with revision 543095. > LoopingAlphabetStream.read() returns invalid values > --------------------------------------------------- > > Key: DERBY-2742 > URL: https://issues.apache.org/jira/browse/DERBY-2742 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.3.0.0 > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Priority: Minor > Fix For: 10.3.0.0 > > Attachments: derby-2742-1a.diff > > > LoopingAlphabetStream.read() does not and bytes with 0xff before returning them. This causes the method to return negative integer values for negative byte values, which breaks the contract of InputStream.read(). The value returned must be in the range 0 - 255. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.