[JBoss JIRA] Resolved: (NETTY-368) Wrappedbuffer does not honour posiiton()

Trustin Lee (JIRA) jira-events at lists.jboss.org
Wed Jan 12 05:27:49 EST 2011


     [ https://issues.jboss.org/browse/NETTY-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee resolved NETTY-368.
-------------------------------

    Fix Version/s: 3.2.4.Final
       Resolution: Done


Thanks for the report.  I've just committed the fix.  I also found a couple more similar mistakes in other classes and fixed them all. :-)

> Wrappedbuffer does not honour posiiton()
> ----------------------------------------
>
>                 Key: NETTY-368
>                 URL: https://issues.jboss.org/browse/NETTY-368
>             Project: Netty
>          Issue Type: Bug
>    Affects Versions: 3.2.2.Final, 3.2.3.Final
>            Reporter: Bradley Schatz
>            Assignee: Trustin Lee
>             Fix For: 3.2.4.Final
>
>
> Shouldnt it do the following instead?
>             return wrappedBuffer(buffer.order(), buffer.array(), buffer.arrayOffset() + buffer.position() ,buffer.remaining());

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the netty-dev mailing list