classpath
[Top][All Lists]
Advanced

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

Re: JamVM 1.2.2 released


From: Mark Wielaard
Subject: Re: JamVM 1.2.2 released
Date: Wed, 15 Dec 2004 16:00:56 +0100

Hi,

On Wed, 2004-12-15 at 12:26, Robert Lougher wrote:
> I've made a new minor release of JamVM (1.2.2).  This fixes a couple
> of minor bugs and implements the recent changes to the VM interface. 
> This enables JamVM to again work "out of the box" with CVS Classpath. 
> It's also backwards compatible with Classpath-0.12, but I'll remove
> this once there's a new Classpath snapshot.

I need the following patch to dll.c to make the gtk-peers work correctly
(otherwise native VMThread create and awt peer create methods clash):

--- jamvm-1.2.2/src/dll.c       2004-12-14 06:10:53.000000000 +0100
+++ jamvm-1.2.2.mark/src/dll.c  2004-12-15 13:46:11.000000000 +0100
@@ -149,7 +149,7 @@
     int i;

     if(strncmp(CLASS_CB(mb->class)->name, "java/lang/", 10) != 0 &&
-       strncmp(CLASS_CB(mb->class)->name, "gnu/", 4) != 0 &&
+       strncmp(CLASS_CB(mb->class)->name, "gnu/classpath/", 14) != 0 &&
        strncmp(CLASS_CB(mb->class)->name, "java/security/", 14) != 0)
         return NULL;

You really only want to intercept the native calls under the
gnu.classpath package and not all native methods under any gnu
subpackage.

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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