gcc/libjava/java
Per Bothner 40c23042f4 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 (<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/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
2004-02-08 13:02:53 -08:00
..
applet AppletContext.java: Fix typo and remove redundant modifiers. 2002-11-14 20:35:27 +00:00
awt Component.java (getFont): Return a default font instead of null. 2004-02-05 23:21:40 +00:00
beans BeanDescriptor.java, [...]: Explicitely import used classes. 2003-12-04 19:36:13 +00:00
io 2004-02-06 Michael Koch <konqueror@gmx.de> 2004-02-06 14:05:37 +00:00
lang 2004-02-05 Michael Koch <konqueror@gmx.de> 2004-02-05 18:20:46 +00:00
math Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
net * gnu/java/nio/DatagramChannelImpl.java 2004-02-03 16:07:24 +00:00
nio ByteBuffer.java (shiftDown): New helper method. 2004-02-08 13:02:53 -08:00
rmi Naming.java (lookup): Check if the first character of the filename returned by URL.getFile() is a '/'... 2003-12-26 23:23:55 +00:00
security Security.java: Don't use &nbsp; in the api doc. 2003-12-02 17:31:46 +00:00
sql Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
text 2004-01-23 Michael Koch <konqueror@gmx.de> 2004-01-23 15:15:31 +00:00
util Deflater.java, [...]: Reformated and javadoc comments merged from classpath. 2004-02-05 16:04:28 +00:00