From 40c23042f4594368c96e1af7dc65b72590d584b0 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Sun, 8 Feb 2004 13:02:53 -0800 Subject: ByteBuffer.java (shiftDown): New helper method. * java/nio/ByteBuffer.java (shiftDown): New helper method. * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation. * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method. * sava/nio/ByteBufferHelper.java: 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/ByteBufferImpl.java: Pass byte-order various places. * java/nio/DirectByteBufferImpl.java: Likewise. Use ByteBufferHelper methods. * java/nio/MappedByteBufferImpl.java: Likewise. (compact): Use shiftDown. * java/nio/CharViewBufferImpl.java (): 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/DoubleViewBufferImpl.java: Likewise. * java/nio/FloatViewBufferImpl.java: Likewise. * java/nio/IntViewBufferImpl.java: Likewise. * java/nio/LongViewBufferImpl.java: Likewise. * java/nio/ShortViewBufferImpl.java: Likewise. * java/nio/CharViewBufferImpl.java (subsequence): Redundant test. * java/nio/DirectByteBufferImpl.java (shiftDown): New native method. (compact): Re-implement using shiftDown. From-SVN: r77501 --- libjava/ChangeLog | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'libjava/ChangeLog') diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 17d5750..f3038da 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,31 @@ +2004-02-08 Per Bothner + + * java/nio/ByteBuffer.java (shiftDown): New helper method. + * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation. + * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method. + * sava/nio/ByteBufferHelper.java: 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/ByteBufferImpl.java: Pass byte-order various places. + * java/nio/DirectByteBufferImpl.java: Likewise. + Use ByteBufferHelper methods. + * java/nio/MappedByteBufferImpl.java: Likewise. + (compact): Use shiftDown. + * java/nio/CharViewBufferImpl.java (): 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/DoubleViewBufferImpl.java: Likewise. + * java/nio/FloatViewBufferImpl.java: Likewise. + * java/nio/IntViewBufferImpl.java: Likewise. + * java/nio/LongViewBufferImpl.java: Likewise. + * java/nio/ShortViewBufferImpl.java: Likewise. + * java/nio/CharViewBufferImpl.java (subsequence): Redundant test. + * java/nio/DirectByteBufferImpl.java (shiftDown): New native method. + (compact): Re-implement using shiftDown. + 2004-02-08 Andreas Jaeger * include/x86_64-signal.h: Fix typo. -- cgit v1.1