classpath
[Top][All Lists]
Advanced

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

[patch] fix jamvm VMRuntime to work with classpath CVS


From: graydon hoare
Subject: [patch] fix jamvm VMRuntime to work with classpath CVS
Date: Fri, 07 Jan 2005 17:19:44 -0500
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

hi,

the VMRuntime distributed with jamvm 1.2.3 does not work on classpath CVS (as of today). classpath changed the signature of nativeLoad to take a ClassLoader argument. here is a patch correcting jamvm to match.

jamvm seems very nice. can we see a public CVS server for it? it would make this easier to track, I think.

-graydon

--- lib/java/lang/VMRuntime.java~       2004-12-23 06:11:32.000000000 -0500
+++ lib/java/lang/VMRuntime.java        2005-01-07 17:06:46.915311672 -0500
@@ -150,7 +150,7 @@
      * @param filename the file to load
      * @return 0 on failure, nonzero on success
      */
-    static native int nativeLoad(String filename);
+    static native int nativeLoad(String filename, ClassLoader loader);

     /**
* Map a system-independent "short name" to the full file name, and append




reply via email to

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