classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] RFC: misc NIO fixes


From: David Gilbert
Subject: Re: [cp-patches] RFC: misc NIO fixes
Date: Wed, 27 Jul 2005 08:25:28 +0000
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050426)

Casey Marshall wrote:

>
> I can't test this properly because Jamvm has started dying with this 
> error on Classpath HEAD:
>
>     Cannot create system class loader
>     Exception occured while printing exception (java/lang/
> RuntimeException)...
>     Original exception was java/lang/NoSuchFieldError
>
> Has something changed in the VM interface recently?
>
>
I had this yesterday and Mark told me the fix.  In your jamvm files,
edit lib/java/lang/VMClassLoader.java as follows:

--- VMClassLoader.java~    2005-03-01 13:43:40.000000000 +0000
+++ VMClassLoader.java    2005-07-26 15:50:15.000000000 +0000
@@ -67,6 +67,7 @@
  */
 final class VMClassLoader
 {
+  static boolean USE_VM_CACHE = false;
   static final native Class findLoadedClass(ClassLoader cl, String name);
 
   /**

...and rebuild.  Works for me.

Regards,

Dave




reply via email to

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