Hi Mark, Yes, you're right. That serves me right for not being able to test awt/swing at the moment. I intend to rework the mechanism at some point.
Apart from that, does it work OK (I presume you're using CVS)? Thanks, Rob. On Wed, 15 Dec 2004 16:00:56 +0100, Mark Wielaard <[EMAIL PROTECTED]> wrote: > 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 > > > _______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath

