gcc/libjava/java/nio
Per Bothner 35d0b14df6 ByteBuffer.java (endian): Make non-private so other java.nio classes can inherit it.
* 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.

From-SVN: r77919
2004-02-16 12:00:33 -08:00
..
channels AbstractInterruptibleChannel.java (close): Set closed before calling implCloseChannel, as in the spec. 2004-02-14 10:41:48 -08:00
charset
Buffer.java
BufferOverflowException.java
BufferUnderflowException.java
ByteBuffer.java ByteBuffer.java (endian): Make non-private so other java.nio classes can inherit it. 2004-02-16 12:00:33 -08:00
ByteBufferHelper.java ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
ByteBufferImpl.java ByteBuffer.java (endian): Make non-private so other java.nio classes can inherit it. 2004-02-16 12:00:33 -08:00
ByteOrder.java
CharBuffer.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
CharBufferImpl.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
CharViewBufferImpl.java CharViewBufferImpl.java: New convenience constructor. 2004-02-16 11:54:49 -08:00
DirectByteBufferImpl.java ByteBuffer.java (endian): Make non-private so other java.nio classes can inherit it. 2004-02-16 12:00:33 -08:00
DoubleBuffer.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
DoubleBufferImpl.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
DoubleViewBufferImpl.java CharViewBufferImpl.java: New convenience constructor. 2004-02-16 11:54:49 -08:00
FloatBuffer.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
FloatBufferImpl.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
FloatViewBufferImpl.java CharViewBufferImpl.java: New convenience constructor. 2004-02-16 11:54:49 -08:00
IntBuffer.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
IntBufferImpl.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
IntViewBufferImpl.java CharViewBufferImpl.java: New convenience constructor. 2004-02-16 11:54:49 -08:00
InvalidMarkException.java
LongBuffer.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
LongBufferImpl.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
LongViewBufferImpl.java CharViewBufferImpl.java: New convenience constructor. 2004-02-16 11:54:49 -08:00
MappedByteBuffer.java
MappedByteBufferImpl.java ByteBuffer.java (endian): Make non-private so other java.nio classes can inherit it. 2004-02-16 12:00:33 -08:00
natDirectByteBufferImpl.cc ByteBuffer.java (endian): Make non-private so other java.nio classes can inherit it. 2004-02-16 12:00:33 -08:00
ReadOnlyBufferException.java
ShortBuffer.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
ShortBufferImpl.java CharBufferImpl.java: Inline super constructor. 2004-02-16 11:53:27 -08:00
ShortViewBufferImpl.java CharViewBufferImpl.java: New convenience constructor. 2004-02-16 11:54:49 -08:00