[kaffe] CVS kaffe (robilad): improved loadLibrary error message

Kaffe CVS cvs-commits at kaffe.org
Sat Aug 20 17:46:00 PDT 2005


PatchSet 6859 
Date: 2005/08/21 00:41:00
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
improved loadLibrary error message

2005-08-21  Dalibor Topic  <robilad at kaffe.org>

* libraries/javalib/java/lang/Runtime.java:
(loadLibrary) Add class loader to error message.

Members: 
	ChangeLog:1.4381->1.4382 
	libraries/javalib/java/lang/Runtime.java:1.35->1.36 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4381 kaffe/ChangeLog:1.4382
--- kaffe/ChangeLog:1.4381	Sun Aug 21 00:18:47 2005
+++ kaffe/ChangeLog	Sun Aug 21 00:41:00 2005
@@ -1,5 +1,10 @@
-2005-08-21  Dalibor Topic  <topic at clerks.kaffe.org>
+2005-08-21  Dalibor Topic  <robilad at kaffe.org>
 
+	* libraries/javalib/java/lang/Runtime.java: 
+	(loadLibrary) Add class loader to error message.
+	
+2005-08-21  Dalibor Topic  <robilad at kaffe.org>
+	
 	* kaffe/kaffevm/gcFuncs.c (destroyClass): 
 	Made idx unsigned to fix compiler warnings.
 
Index: kaffe/libraries/javalib/java/lang/Runtime.java
diff -u kaffe/libraries/javalib/java/lang/Runtime.java:1.35 kaffe/libraries/javalib/java/lang/Runtime.java:1.36
--- kaffe/libraries/javalib/java/lang/Runtime.java:1.35	Tue Jul 19 01:16:52 2005
+++ kaffe/libraries/javalib/java/lang/Runtime.java	Sun Aug 21 00:41:02 2005
@@ -763,7 +763,8 @@
       }
     throw new UnsatisfiedLinkError("Native library `" + libname
       + "' not found (as file `" + filename 
-      + "') in gnu.classpath.boot.library.path and java.library.path `"
+      + "' in class loader " + loader
+      + ") in gnu.classpath.boot.library.path and java.library.path `"
       + Arrays.asList(libpath) + "'");
   }
 



More information about the kaffe mailing list