[kaffe] CVS kaffe (dalibor): Small fix for OfBiz

Kaffe CVS cvs-commits at kaffe.org
Wed Mar 10 08:26:03 PST 2004


PatchSet 4499 
Date: 2004/03/10 16:22:29
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Small fix for OfBiz

2004-03-09  Dalibor Topic <robilad at kaffe.org>

        * libraries/javalib/gnu/javax/rmi/CORBA/DelegateFactory.java
        (getInstance): Use context class loader.

        Reported by: Adam Heath <doogie at debian.org>

Members: 
	ChangeLog:1.2079->1.2080 
	libraries/javalib/gnu/javax/rmi/CORBA/DelegateFactory.java:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2079 kaffe/ChangeLog:1.2080
--- kaffe/ChangeLog:1.2079	Tue Mar  9 21:00:46 2004
+++ kaffe/ChangeLog	Wed Mar 10 16:22:29 2004
@@ -1,3 +1,10 @@
+2004-03-09  Dalibor Topic <robilad at kaffe.org>
+
+	* libraries/javalib/gnu/javax/rmi/CORBA/DelegateFactory.java
+	(getInstance): Use context class loader.
+
+	Reported by: Adam Heath <doogie at debian.org>
+
 2004-03-09  Timothy S. Stack <stack at cs.utah.edu>
 
 	kaffe/kaffevm/jit3/icode.c:
Index: kaffe/libraries/javalib/gnu/javax/rmi/CORBA/DelegateFactory.java
diff -u kaffe/libraries/javalib/gnu/javax/rmi/CORBA/DelegateFactory.java:1.1 kaffe/libraries/javalib/gnu/javax/rmi/CORBA/DelegateFactory.java:1.2
--- kaffe/libraries/javalib/gnu/javax/rmi/CORBA/DelegateFactory.java:1.1	Tue Dec  3 01:27:54 2002
+++ kaffe/libraries/javalib/gnu/javax/rmi/CORBA/DelegateFactory.java	Wed Mar 10 16:22:30 2004
@@ -60,7 +60,9 @@
       }
     try
       {
-	Class dclass = Class.forName(dcname);
+	Class dclass = Class.forName(dcname, 
+				     true,
+				     Thread.currentThread().getContextClassLoader());
 	r = dclass.newInstance();
 	cache.put(type, r);
 	return r;




More information about the kaffe mailing list