diff options
author | Audrius Meskauskas <audriusa@Bioinformatics.org> | 2005-10-13 20:58:53 +0000 |
---|---|---|
committer | Audrius Meskauskas <audriusa@Bioinformatics.org> | 2005-10-13 20:58:53 +0000 |
commit | 0c2f65348755a684fc5a50b0fbf83e4ed0052bdc (patch) | |
tree | b239e5f3bce17764303c441daf718fd84f7901fd /org | |
parent | 41085b100a83d143e3e00350eb4eda7e9cc0136b (diff) | |
download | classpath-0c2f65348755a684fc5a50b0fbf83e4ed0052bdc.tar.gz |
2005-10-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/CORBA/ObjectCreator.java (forName):
Use gnu.classpath.VMStackWalker.
* gnu/CORBA/Interceptor/Registrator.java,
gnu/CORBA/gnuValueHolder.java,
gnu/CORBA/stubFinder.java,
gnu/javax/rmi/CORBA/DelegateFactory.java,
gnu/javax/rmi/CORBA/StubDelegateImpl.java,
org/omg/CORBA/ORB.java: Load class via ObjectCreator.
Diffstat (limited to 'org')
-rw-r--r-- | org/omg/CORBA/ORB.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org/omg/CORBA/ORB.java b/org/omg/CORBA/ORB.java index d8fbdfd02..08db67981 100644 --- a/org/omg/CORBA/ORB.java +++ b/org/omg/CORBA/ORB.java @@ -38,6 +38,7 @@ exception statement from your version. */ package org.omg.CORBA; +import gnu.CORBA.ObjectCreator; import gnu.CORBA.Restricted_ORB; import gnu.CORBA.fixedTypeCode; import gnu.CORBA.generalTypeCode; @@ -1167,8 +1168,7 @@ public abstract class ORB try { - orb = (ORB) Class.forName(orbClassName, true, - Thread.currentThread().getContextClassLoader()).newInstance(); + orb = (ORB) ObjectCreator.forName(orbClassName).newInstance(); } catch (ClassNotFoundException ex) { |