New NIO code needs refactoring

Per Bothner per@bothner.com
Fri Mar 19 21:23:00 GMT 2004


Per Bothner wrote:

> Could you try this patch?

I need to know ASAP whether I should I check this patch in, as I'll
be flying to Europe on Monday, and I might not have internet access
until Friday, and even then it wouldn't be continuous.

As mentioned in previous email, for the next few days use
per@24.4.99.130 to reach me.


> 2004-03-17  Per Bothner  <per@bothner.com>
> 
> 	* java/nio/CharViewBufferImpl.java:  Moved to gnu.java.nio.
> 	* java/nio/DoubleViewBufferImpl.java:  Likewise.
> 	* java/nio/FloatViewBufferImpl.java:  Likewise.
> 	* java/nio/IntViewBufferImpl.java:  Likewise.
> 	* java/nio/LongViewBufferImpl.java:  Likewise.
> 	* java/nio/MappedByteBufferImpl.java:  Likewise.
> 	* java/nio/ShortViewBufferImpl.java:  Likewise.
> 	* java/nio/DirectByteBufferImpl.java:  Likewise.
> 	* java/nio/natDirectByteBufferImpl.cc:  Likewise.
> 	* gnu/java/nio/ByteBufferHelper.java:  Renamed class.  Made public.
> 	* gnu/java/nio/CharViewBufferImpl.java:  Likewise.
> 	* gnu/java/nio/DirectByteBufferImpl.java:  Likewise.
> 	* gnu/java/nio/DoubleViewBufferImpl.java:  Likewise.
> 	* gnu/java/nio/FloatViewBufferImpl.java:  Likewise.
> 	* gnu/java/nio/IntViewBufferImpl.java:  Likewise.
> 	* gnu/java/nio/LongViewBufferImpl.java:  Likewise.
> 	* gnu/java/nio/MappedByteBufferImpl.java:  Likewise.
> 	* gnu/java/nio/ShortViewBufferImpl.java:  Likewise.
> 	* gnu/java/nio/natDirectByteBufferImpl.cc:  Likewise.
> 	* Makefile.am:  Update accordingly.
> 	* jni.cc:  Update for renamed classes.
> 	* gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
> 	* gnu/java/nio/channels/natFileChannelPosix.cc:  Likewise.
> 	* gnu/java/nio/channels/natFileChannelWin32.cc:  Likewise.
> 	* java/nio/ByteBuffer.java:  Likewise, by importing gnu.java.nio.*.
> 	* java/nio/ByteBufferImpl.java:  Likewise.
> 
> 	* gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
> 	(write):  Call diag_write, as in old natFileDescriptorEcos.cc.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Java mailing list