diff options
| author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-16 20:00:33 +0000 |
|---|---|---|
| committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-16 20:00:33 +0000 |
| commit | c0951a3aea101cacd8278a5a40e8880f061a1560 (patch) | |
| tree | b053bce2ad70d769c220be5941b4cd3ae9fdccaf /libjava/ChangeLog | |
| parent | e88045708e1899ddaec5c5597476cbd3efd39266 (diff) | |
| download | ppe42-gcc-c0951a3aea101cacd8278a5a40e8880f061a1560.tar.gz ppe42-gcc-c0951a3aea101cacd8278a5a40e8880f061a1560.zip | |
* java/nio/ByteBuffer.java (endian): Make non-private so other
java.nio classes can inherit it.
(<init>): Don't bother clearing array_offset.
* java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
* java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
Remove redundant test.
* java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
Use new XxxViewBufferImpl constructors.
* java/nio/MappedByteBufferImpl.java: Likewise.
* java/nio/DirectByteBufferImpl.java: Likewise.
* java/nio/ByteBufferImpl.java: Remove one constructor.
Inline super in remaining constructor.
* java/nio/ByteBuffer.java: Remove unused constructor.
* java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
* java/nio/ByteBufferImpl.java (get, put): Add array_offset.
* java/nio/DirectByteBufferImpl.java (owner): New field.
(offset): Remove unused field.
(<init>): Modify one and add another constructor. Change callers.
(allocateDirect): Removed - not used.
(getImpl, putImpl): Make static and pass address explicitly,
to make them useful for MappedByteBufferImpl.
(get, put): Check for underflow. Modify for new getImpl.
(getImpl): New native method where target is array.
(get(byte[],int,int)): Use the above.
(adjustAddress): New static native method.
(slice, duplicate, asReadOnly): New implementations.
* java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
adjustAddress): New or updated native methods.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77919 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/ChangeLog')
| -rw-r--r-- | libjava/ChangeLog | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 5352ffa4ac1..9e7199860a1 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -19,6 +19,40 @@ * java/nio/IntViewBufferImpl.java: Likewise. * java/nio/LongViewBufferImpl.java: Likewise. * java/nio/ShortViewBufferImpl.java: Likewise. + + * java/nio/ByteBuffer.java (endian): Make non-private so other + java.nio classes can inherit it. + (<init>): Don't bother clearing array_offset. + * java/nio/ByteBuffer.java (allocate): Re-implement using wrap. + * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow. + Remove redundant test. + + * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer, + asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer): + Use new XxxViewBufferImpl constructors. + * java/nio/MappedByteBufferImpl.java: Likewise. + * java/nio/DirectByteBufferImpl.java: Likewise. + + * java/nio/ByteBufferImpl.java: Remove one constructor. + Inline super in remaining constructor. + * java/nio/ByteBuffer.java: Remove unused constructor. + + * java/nio/ByteBufferImpl.java (shiftDown): New optimized method. + + * java/nio/ByteBufferImpl.java (get, put): Add array_offset. + * java/nio/DirectByteBufferImpl.java (owner): New field. + (offset): Remove unused field. + (<init>): Modify one and add another constructor. Change callers. + (allocateDirect): Removed - not used. + (getImpl, putImpl): Make static and pass address explicitly, + to make them useful for MappedByteBufferImpl. + (get, put): Check for underflow. Modify for new getImpl. + (getImpl): New native method where target is array. + (get(byte[],int,int)): Use the above. + (adjustAddress): New static native method. + (slice, duplicate, asReadOnly): New implementations. + * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown, + adjustAddress): New or updated native methods. 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org> |

