harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6502) [classlib][luni] String.substring does not throw StringIndexOutOfBoundsException with index
Date Tue, 20 Apr 2010 12:05:51 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858836#action_12858836
] 

Mark Hindess commented on HARMONY-6502:
---------------------------------------

Tim,

JIRA was broken at the weekend so the "grant ASF license" button was missing when Dinuk attached
his patch.  I have dinuk's ACQ and ICLA but I've not had time to scan them yet.

Dinuk,

Can you add a comment like::

  I grant license to ASF for inclusion in ASF works (as per the Apache Software License section
5)

to this JIRA to confirm that we can use your contribution.  Thanks.


> [classlib][luni] String.substring does not throw StringIndexOutOfBoundsException with
index
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6502
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6502
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Dinuk Weerasinghe
>            Priority: Minor
>         Attachments: 6502.patch
>
>
> Invocation of String.substring with invalid arguments does not provide the invalid index
information
> e.g:
>  -  "HelloWorld".substring(4,1)  on RI gives:  java.lang.StringIndexOutOfBoundsException:
String index out of range: -3 
>  -  "HelloWorld".substring(4,1) on Harmony gives:  java.lang.StringIndexOutOfBoundsException
with no message, which is less useful

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