You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/05/22 17:08:30 UTC

[jira] Updated: (HARMONY-487) String throws wrong exception

     [ http://issues.apache.org/jira/browse/HARMONY-487?page=all ]

Mark Hindess updated HARMONY-487:
---------------------------------

    Attachment: string.throws.wrong.exception.diff

Patch with tests and fix.


> String throws wrong exception
> -----------------------------
>
>          Key: HARMONY-487
>          URL: http://issues.apache.org/jira/browse/HARMONY-487
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Mark Hindess
>     Priority: Minor
>  Attachments: string.throws.wrong.exception.diff
>
> The following statements throw IllegalCharsetNameException but the RI throws UnsupportedEncodingException:
>   new String(byte_array, "");
>   (new String()).getBytes("");

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