diff options
Diffstat (limited to 'org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java')
-rw-r--r-- | org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java b/org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java index dd318bf09..bad920a5a 100644 --- a/org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java +++ b/org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java @@ -40,6 +40,7 @@ package org.omg.PortableServer.POAPackage; import gnu.CORBA.EmptyExceptionHolder; import gnu.CORBA.Minor; +import gnu.CORBA.OrbRestricted; import org.omg.CORBA.Any; import org.omg.CORBA.BAD_OPERATION; @@ -70,7 +71,7 @@ public abstract class AdapterNonExistentHelper { if (typeCode == null) { - ORB orb = ORB.init(); + ORB orb = OrbRestricted.Singleton; StructMember[] members = new StructMember[ 0 ]; typeCode = orb.create_exception_tc(id(), "AdapterNonExistent", members); } |