diff options
author | Dalibor Topic <robilad@kaffe.org> | 2004-03-16 09:41:31 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-03-16 09:41:31 +0000 |
commit | 6828de5bff76e237ba55ca2885a0ed31f8efe44b (patch) | |
tree | f3e0ce0248be90cfea6fe0bf807752a7c5f83b2f /libjava/gnu | |
parent | 4e7edcca305b9121c314ca5762dc45e426c20065 (diff) | |
download | gcc-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.java | 4 |
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; |