Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 94384 invoked from network); 12 Apr 2006 02:18:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2006 02:18:43 -0000 Received: (qmail 40693 invoked by uid 500); 12 Apr 2006 02:18:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 40662 invoked by uid 500); 12 Apr 2006 02:18:41 -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 40653 invoked by uid 99); 12 Apr 2006 02:18:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 19:18:41 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 19:18:41 -0700 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 5FF07D4A04 for ; Wed, 12 Apr 2006 03:18:20 +0100 (BST) Message-ID: <1435352183.1144808300390.JavaMail.jira@ajax> Date: Wed, 12 Apr 2006 03:18:20 +0100 (BST) From: "Sunitha Kambhampati (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Assigned: (DERBY-900) Remove use of String(byte[]) and String(byte[], int, int) constructors in network client leading to non-portable behaviour In-Reply-To: <1988940417.1138740694680.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-900?page=all ] Sunitha Kambhampati reassigned DERBY-900: ----------------------------------------- Assign To: Sunitha Kambhampati > Remove use of String(byte[]) and String(byte[], int, int) constructors in network client leading to non-portable behaviour > -------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-900 > URL: http://issues.apache.org/jira/browse/DERBY-900 > Project: Derby > Type: Bug > Components: Network Client > Reporter: Daniel John Debrunner > Assignee: Sunitha Kambhampati > Fix For: 10.2.0.0 > Attachments: TestEnc.java, derby900.diff.p1.txt, derby900.stat.p1.txt, for_10.1_derby900.diff.p1.txt, for_10.1_derby900.stat.p1.txt > > These constructors use the Java default platform encoding to convert the bytes to a String, this typically leads to bugs on platforms with different encodings. > Replace with code using fixed conversion, or alternative mechanisms. > If the call is required its use should be commented as to why it is required. > org.apache.derby.client.am.ClobOutputStream - some existing bug? > org.apache.derby.client.am.DateTime - see DERBY-877 > org.apache.derby.client.am.sqlca > I generated this list using the Java search in eclipse for references to the constructors > String(byte[]) > String(byte[],int,int) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira