harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-170) java.nio.charset.CharsetEncoder.encode method does not handle the unexpected exception
Date Mon, 06 Mar 2006 06:26:31 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-170?page=all ]

Richard Liang updated HARMONY-170:
----------------------------------

    Attachment: CharsetEncoder_patch.txt
                CharsetEncoderTest_patch.txt

Hello Tim,

Please try my patch and the proposed test cases. Thanks a lot.

> java.nio.charset.CharsetEncoder.encode method does not handle the unexpected exception
> --------------------------------------------------------------------------------------
>
>          Key: HARMONY-170
>          URL: http://issues.apache.org/jira/browse/HARMONY-170
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: Richard Liang
>  Attachments: CharsetEncoderTest_patch.txt, CharsetEncoder_patch.txt
>
> public final CoderResult encode(CharBuffer in, ByteBuffer out, boolean endOfInput)
> As spec says, the method throws CoderMalfunctionError if an invocation of the decodeLoop
method threw an unexpected exception.
> However, Harmony doesn't throws CoderMalfunctionError when decodeLoop method threw an
unexpected exception.
> The attached test cases pass on RI , but fail on Harmony. 

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


Mime
View raw message