Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 79494 invoked from network); 23 Mar 2007 15:09:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Mar 2007 15:09:03 -0000 Received: (qmail 48109 invoked by uid 500); 23 Mar 2007 15:09:02 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 48079 invoked by uid 500); 23 Mar 2007 15:09:02 -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 48049 invoked by uid 99); 23 Mar 2007 15:09:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 08:09:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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, 23 Mar 2007 08:08:53 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B091271407A for ; Fri, 23 Mar 2007 08:08:32 -0700 (PDT) Message-ID: <11898756.1174662512720.JavaMail.jira@brutus> Date: Fri, 23 Mar 2007 08:08:32 -0700 (PDT) From: "Alexei Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-2454) [classlib][luni] ArrayIndexOutOfBoundsException when calling java.lang.Character.valueOf((char)512) In-Reply-To: <10104494.1165316241229.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/HARMONY-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexei Zakharov reassigned HARMONY-2454: ---------------------------------------- Assignee: Alexei Zakharov > [classlib][luni] ArrayIndexOutOfBoundsException when calling java.lang.Character.valueOf((char)512) > --------------------------------------------------------------------------------------------------- > > Key: HARMONY-2454 > URL: https://issues.apache.org/jira/browse/HARMONY-2454 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: Windows/ IA32 > Reporter: Pavel Ozhdikhin > Assigned To: Alexei Zakharov > Priority: Minor > Attachments: char.patch, CharacterTest.patch, test.java > > > The call to java.lang.Character.valueOf((char)512) fails with ArrayIndexOutOfBoundsException. 512 is the size of the cache for the Character objects and the check for cache boundaries is implemented incorrectly. The attached patch gives a clue though I have not tested it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.