bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/36179] Error in java.nio.Buffer.position(int) - trivial t


From: csm at gnu dot org
Subject: [Bug classpath/36179] Error in java.nio.Buffer.position(int) - trivial to verify and fix
Date: 20 May 2008 05:18:04 -0000


------- Comment #1 from csm at gnu dot org  2008-05-20 05:18 -------
Confirmed with Classpath 0.96.1. It looks like CVS is the same.

Test case:

import java.nio.ByteBuffer;

class pr36179
{
        public static void main (String[] argv) throws Throwable
        {
                ByteBuffer buf = ByteBuffer.allocate (10);
                buf.position(5);
                buf.mark();
                buf.position(5);
                buf.reset();
        }
}


-- 

csm at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-05-20 05:18:04
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36179





reply via email to

[Prev in Thread] Current Thread [Next in Thread]