[ 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