[ http://issues.apache.org/jira/browse/HARMONY-142?page=all ]
Tim Ellison resolved HARMONY-142:
---------------------------------
Resolution: Fixed
Richard,
Thanks for the patch, applied to NIO_CHAR module
java.nio.charset.CharsetDecoder at repo revision 382380.
I made a couple of minor modifications to rename the test method in keeping
with the tests naming convention, and unmark the exception description as
NON-NLS because it should in fact be NLS'd via the Msg type.
Please check that this fix fully resolves your problem.
> 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
> Assignee: Tim Ellison
> 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