Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 15504 invoked from network); 26 Nov 2007 23:08:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2007 23:08:08 -0000 Received: (qmail 65871 invoked by uid 500); 26 Nov 2007 23:07:55 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 65839 invoked by uid 500); 26 Nov 2007 23:07:55 -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 65829 invoked by uid 99); 26 Nov 2007 23:07:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 15:07:55 -0800 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; Mon, 26 Nov 2007 23:08:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AE35971420B for ; Mon, 26 Nov 2007 15:07:44 -0800 (PST) Message-ID: <25692298.1196118464138.JavaMail.jira@brutus> Date: Mon, 26 Nov 2007 15:07:44 -0800 (PST) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-3226) BlobLocatorInputStream.read() and ClobLocatorInputStream.read() don't mask out sign bits In-Reply-To: <29150469.1196080483617.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-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen closed DERBY-3226. ------------------------------------- Resolution: Fixed Fix Version/s: 10.4.0.0 Committed revision 598458. > BlobLocatorInputStream.read() and ClobLocatorInputStream.read() don't mask out sign bits > ---------------------------------------------------------------------------------------- > > Key: DERBY-3226 > URL: https://issues.apache.org/jira/browse/DERBY-3226 > Project: Derby > Issue Type: Bug > Components: Network Client > Affects Versions: 10.3.1.4 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Priority: Minor > Fix For: 10.4.0.0 > > Attachments: d3226.diff > > > The javadoc for java.io.InputStream.read() says that the value byte is to be returned as an int in the range 0 to 255, but BlobLocatorInputStream and ClobLocatorInputStream instead return an int in the range -128 to 127. Since these streams are wrapped in BufferedInputStream objects before they are returned to the users, I don't think this will have any effect on user code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.