[Top][All Lists]

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

FYI: Patch: java.nio buffer fixes

From: Michael Koch
Subject: FYI: Patch: java.nio buffer fixes
Date: Wed, 11 Feb 2004 20:10:27 +0100
User-agent: KMail/1.5.4

Hi list,

I commited the attached patch to merge the latest NIO fixes to 


2004-02-11  Per Bothner  <address@hidden>

        * java/nio/ (shiftDown):  New helper method.
        * java/nio/ (compact):  Use new shiftDown method.
        * sava/nio/  Remove redundant 'final' specifiers.
        Pass ByteOrder parameter to most methods, since the underlying
        ByteBuffer's order isn't always what we should use.
        * java/nio/  Pass byte-order various places.
        * java/nio/  Likewise.
        Use ByteBufferHelper methods.
        * java/nio/  Likewise.
        (compact):  Use shiftDown.
        * java/nio/ (<init>):  Pass byte-order.
        (get, put):  Use ByteBufferHelper.
        (compact):  Use new shiftDown method.
        (duplicate(boolean)):  New helper method.
        (duplicate, asReadOnlyBuffer):  Use it.
        (order):  Return endian field.
        * java/nio/  Likewise.
        * java/nio/  Likewise.
        * java/nio/  Likewise.
        * java/nio/  Likewise.
        * java/nio/  Likewise.
        * java/nio/ (subsequence):  Redundant test.
        * java/nio/ (shiftDown):  New native method.
        (compact):  Re-implement using shiftDown.

2004-02-11  Michael Koch  <address@hidden>

        * include/java_nio_DirectByteBufferImpl.h: Regenerated.
        * native/jni/java-nio/java_nio_DirectByteBufferImpl.c
        (shiftDown): New method.

Attachment: nio.diff
Description: Text Data

reply via email to

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