harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-2454) [classlib][luni] ArrayIndexOutOfBoundsException when calling java.lang.Character.valueOf((char)512)
Date Tue, 27 Mar 2007 13:20:32 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexei Zakharov resolved HARMONY-2454.
--------------------------------------

    Resolution: Fixed

I've applied the patch for CharacterTest at r522897. Mikhail, please verify.

> [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.


Mime
View raw message