aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu
diff options
context:
space:
mode:
authorDalibor Topic <robilad@kaffe.org>2004-03-16 09:41:31 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2004-03-16 09:41:31 +0000
commit6828de5bff76e237ba55ca2885a0ed31f8efe44b (patch)
treef3e0ce0248be90cfea6fe0bf807752a7c5f83b2f /libjava/gnu
parent4e7edcca305b9121c314ca5762dc45e426c20065 (diff)
downloadgcc-6828de5bff76e237ba55ca2885a0ed31f8efe44b.zip
gcc-6828de5bff76e237ba55ca2885a0ed31f8efe44b.tar.gz
gcc-6828de5bff76e237ba55ca2885a0ed31f8efe44b.tar.bz2
Reported by: Adam Heath <doogie@debian.org>
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. From-SVN: r79528
Diffstat (limited to 'libjava/gnu')
-rw-r--r--libjava/gnu/javax/rmi/CORBA/DelegateFactory.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/gnu/javax/rmi/CORBA/DelegateFactory.java b/libjava/gnu/javax/rmi/CORBA/DelegateFactory.java
index c98549b..bf6f9e6 100644
--- a/libjava/gnu/javax/rmi/CORBA/DelegateFactory.java
+++ b/libjava/gnu/javax/rmi/CORBA/DelegateFactory.java
@@ -60,7 +60,9 @@ public class DelegateFactory
}
try
{
- Class dclass = Class.forName(dcname);
+ Class dclass = Class.forName(dcname,
+ true,
+ Thread.currentThread().getContextClassLoader());
r = dclass.newInstance();
cache.put(type, r);
return r;