[PATCH] : Fix wrong message of the ArrayIndexOutOfBoundException

Alexey Bakhtin alexey at azul.com
Thu May 5 09:12:33 UTC 2016


Hi Alex, All,

Sorry, Diff and test are reattached




Regards
Alexey

> On 05 May 2016, at 10:35, Alex Kashchenko <akashche at redhat.com> wrote:
>
> Hi Alexey,
>
> On 05/04/2016 07:03 PM, Alexey Bakhtin wrote:
>> Hi All,
>>
>> There is a minor copy-past issue in the ArrayIndexOutOfBoundException implementation for aarch32 port.
>> Application throws expected java.lang.ArrayIndexOutOfBoundsException with incorrect text (“1686608040" instead of index value) in the Xint mode:
>>
>> There is no such problem in the Xcomp Xbatch mode
>>
>> The reason of the issue : TemplateInterpreterGenerator::generate_ArrayIndexOutOfBounds_handler reads index element from the r1 register instead of register r2
>>
>> Suggested fix in the hotspot is:
>>
>>
>>
>> Unit test to reproduce and verify this issue is:
>
> Links or attachments are probably missed here?
>
> --
> -Alex



More information about the aarch32-port-dev mailing list