bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/22746] ByteBuffer.compact doesn't always set limit to cap


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22746] ByteBuffer.compact doesn't always set limit to capacity
Date: 16 Oct 2005 01:26:57 -0000

According to the Sun Javadoc, and observed Sun JDK1.4 behaviour, the compact
method always sets limit to capacity. In the Classpath implementation
ByteBuffer.compact only sets limit to capacity when the position is not 0. 


------- Comment #1 from from-classpath at savannah dot gnu dot org  2004-12-30 
10:54 -------
Fixed in CVS. This will be included in GNU classpath 0.13.


-- 


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





reply via email to

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