You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/03/02 03:04:45 UTC

[jira] Updated: (HARMONY-142) java.nio.charset.CharsetDecoder constructor doesn't throw IllegalArgumentException when averageCharsPerByte is greater than maxCharsPerByte.

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

Richard Liang updated HARMONY-142:
----------------------------------

    Attachment: CharsetDecoder_patch.txt

Please try my patch. Thanks a lot!

> java.nio.charset.CharsetDecoder constructor doesn't throw IllegalArgumentException when averageCharsPerByte is greater than maxCharsPerByte.
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-142
>          URL: http://issues.apache.org/jira/browse/HARMONY-142
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: Richard Liang
>  Attachments: CharsetDecoder_patch.txt
>
> As spec says, constructor throws IllegalArgumentException when parameters are illegal. It should be considered as illegal parameters when averageCharsPerByte is greater than maxCharsPerByte.

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