This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
FYI: Patch: gnu/javax/rmi/CORBA/DelegateFactory.java
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Tue, 16 Mar 2004 10:41:21 +0100
- Subject: FYI: Patch: gnu/javax/rmi/CORBA/DelegateFactory.java
Hi list,
I just commited the attached patch to megre a fix from classpath.
Michael
2004-03-16 Dalibor Topic <robilad@kaffe.org>
Reported by: Adam Heath <doogie@debian.org>
* gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
class loader.
Index: gnu/javax/rmi/CORBA/DelegateFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/javax/rmi/CORBA/DelegateFactory.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 DelegateFactory.java
--- gnu/javax/rmi/CORBA/DelegateFactory.java 29 Mar 2003 21:23:25 -0000 1.1
+++ gnu/javax/rmi/CORBA/DelegateFactory.java 16 Mar 2004 09:39:45 -0000
@@ -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;