classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] [Patch] support for direct buffers


From: Michael Koch
Subject: Re: [cp-patches] [Patch] support for direct buffers
Date: Thu, 18 Nov 2004 12:24:25 +0100
User-agent: KMail/1.6.2

Am Donnerstag, 18. November 2004 10:59 schrieb Jeroen Frijters:
> Michael Koch wrote:
> > I have finally finished support for direct byte buffers in GNU
> > classpath. The attached patch moves the native methods to a
> > new VM class called VMDirectByteBuffer and implements the
> > native methods.
>
> I think VMDirectByteBuffer.java is missing from the patch and the
> patch to DirectByteBufferImpl.java didn't apply cleanly.

Damn, you are right. I forgot to add VMDirectByteBuffer.java. I can't 
verify a problem with DirectByteBufferImpl.java. I made the patch 
against latest CVS. Perhaps you have local changes in this class ?

I attached a new patch.


Michael


2004-11-18  Michael Koch  <address@hidden>

 * gnu/classpath/RawData.java: Made abstract.
 * gnu/classpath/RawData32.java,
 gnu/classpath/RawData64.java: New files.
 * include/Makefile.am:
 Don't generate java_nio_DirectByteBufferImpl.h anymore
 and generate java_nio_VMDirectByteBuffer.h now.
 * java/nio/DirectByteBufferImpl.java:
 Moved native methods to VMDirectByteBuffer.
 * java/nio/MappedByteBufferImpl.java:
 Use methods from VMDirectBteBuffer.
 * native/jni/java-nio/Makefile.am:
 Removed java_nio_DirectByteBufferImpl.c
 and added java_nio_VMDirectByteBuffer.c
 * include/java_nio_DirectByteBufferImpl.h,
 native/jni/java-nio/java_nio_DirectByteBufferImpl.c:
 Removed.
 * include/java_nio_VMDirectByteBuffer.h,
 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c,
 * vm/reference/java/nio/VMDirectByteBuffer.java:
 New files.
-- 
Homepage: http://www.worldforge.org/

Attachment: nio.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]