harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1156) [DRLVM][JNI]GetByteArrayRegion differs from RI in throwing ArrayIndexOutOfBoundsException.
Date Mon, 14 Aug 2006 16:25:15 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1156?page=comments#action_12427930 ] 
Geir Magnusson Jr commented on HARMONY-1156:

Did you test the JNI method directly?

Right now, we do behave as the spec requires, although I too find it compelling to switch
to behave like RI, as the RI behavior is reasonable.

> [DRLVM][JNI]GetByteArrayRegion differs from RI in throwing ArrayIndexOutOfBoundsException.
> ------------------------------------------------------------------------------------------
>                 Key: HARMONY-1156
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1156
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Jimmy, Jing Lv
>         Assigned To: Geir Magnusson Jr
>            Priority: Critical
> Hi,
>     JNI method GetByteArrayRegion(byte[],offset,count) throws ArrayIndexOutOfBoundsException
if the given offset is equal to length of byte array and the given count is zero. This is
different from RI (it returns immediately).

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


View raw message