classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: Patch java.nio.*BufferImpl


From: Jeroen Frijters
Subject: [cp-patches] FYI: Patch java.nio.*BufferImpl
Date: Mon, 27 Dec 2004 15:38:45 +0100

Hi,

I committed the attached patch to reset the mark in compact (as per the
Javadoc) and added an explicit read-only check. The explicit read-only
check isn't needed in all cases, but for consistency I think it's better
to do it always.

Regards,
Jeroen

2004-12-27  Jeroen Frijters  <address@hidden>

        * java/nio/ByteBufferImpl.java,
        java/nio/CharBufferImpl.java,
        java/nio/DirectByteBufferImpl.java,
        java/nio/DoubleBufferImpl.java,
        java/nio/FloatBufferImpl.java,
        java/nio/IntBufferImpl.java,
        java/nio/LongBufferImpl.java,
        java/nio/MappedByteBufferImpl.java,
        java/nio/ShortBufferImpl.java
        (compact): Added explicit read-only check and invalidate mark.

Attachment: buffers.patch.txt
Description: buffers.patch.txt


reply via email to

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