[ 
https://issues.apache.org/jira/browse/DIRMINA-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny closed DIRMINA-296.
-------------------------------------


> ByteBuffer.limit() incorrect when CharacterCodingException() occurred
> ---------------------------------------------------------------------
>
>                 Key: DIRMINA-296
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-296
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>         Environment: Window/Unix
>            Reporter: Phan Thanh Hieu
>            Assignee: Trustin Lee
>             Fix For: 1.0.2
>
>         Attachments: ByteBuffer.java, bytebuffer.jpg, TestByteBuffer.java
>
>
> ByteBuffer.limit() is INCORRECT when CharacterCodingException occurred.
> Information: my app just support ASCII-character messages. So when receiving 
> non-ASCII message => CharacterCodingException occurrec and my expected 
> action: save the raw-data into a Error file but the limit of the ByteBuffer 
> is changed so i could not save whole raw data to this kind of file.
> I have reviewed the getString() method of MINA ByteBuffer. I could found the 
> problem, please see the attachment.
> Thanks, Hieu Phan.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to