You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Michael Link (JIRA)" <ji...@apache.org> on 2007/06/05 17:56:26 UTC

[jira] Created: (DIRMINA-383) CumulativeProtocolDecoder & ByteOrder.LITTLE_ENDIAN

CumulativeProtocolDecoder & ByteOrder.LITTLE_ENDIAN
---------------------------------------------------

                 Key: DIRMINA-383
                 URL: https://issues.apache.org/jira/browse/DIRMINA-383
             Project: MINA
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.2
         Environment: Win-XP
            Reporter: Michael Link


When the decoder returns false, the CumulativeProtocolDecoder saves the remaining buffer in a copy in a session attribute. That copy doesn't inherit the ByteOrder-Setting of the original buffer, therefore I have to switch the ByteOrder manually. Is this correct behaviour ? I would expect that the copied buffer inherits the ByteOrder-Setting.

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


[jira] Closed: (DIRMINA-383) CumulativeProtocolDecoder & ByteOrder.LITTLE_ENDIAN

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRMINA-383.
-------------------------------------


> CumulativeProtocolDecoder & ByteOrder.LITTLE_ENDIAN
> ---------------------------------------------------
>
>                 Key: DIRMINA-383
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-383
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.2
>         Environment: Win-XP
>            Reporter: Michael Link
>            Assignee: Trustin Lee
>             Fix For: 1.0.4, 1.1.1
>
>
> When the decoder returns false, the CumulativeProtocolDecoder saves the remaining buffer in a copy in a session attribute. That copy doesn't inherit the ByteOrder-Setting of the original buffer, therefore I have to switch the ByteOrder manually. Is this correct behaviour ? I would expect that the copied buffer inherits the ByteOrder-Setting.

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


[jira] Resolved: (DIRMINA-383) CumulativeProtocolDecoder & ByteOrder.LITTLE_ENDIAN

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee resolved DIRMINA-383.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.1
                   1.0.4
         Assignee: Trustin Lee

I checked in the fix.  Please try the latest snapshot and close this issue if it works for you.

> CumulativeProtocolDecoder & ByteOrder.LITTLE_ENDIAN
> ---------------------------------------------------
>
>                 Key: DIRMINA-383
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-383
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.2
>         Environment: Win-XP
>            Reporter: Michael Link
>            Assignee: Trustin Lee
>             Fix For: 1.0.4, 1.1.1
>
>
> When the decoder returns false, the CumulativeProtocolDecoder saves the remaining buffer in a copy in a session attribute. That copy doesn't inherit the ByteOrder-Setting of the original buffer, therefore I have to switch the ByteOrder manually. Is this correct behaviour ? I would expect that the copied buffer inherits the ByteOrder-Setting.

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