diff options
Diffstat (limited to 'org/omg/PortableServer/ServantLocatorHelper.java')
-rw-r--r-- | org/omg/PortableServer/ServantLocatorHelper.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org/omg/PortableServer/ServantLocatorHelper.java b/org/omg/PortableServer/ServantLocatorHelper.java index 082c4c586..7bb933f7b 100644 --- a/org/omg/PortableServer/ServantLocatorHelper.java +++ b/org/omg/PortableServer/ServantLocatorHelper.java @@ -39,6 +39,7 @@ exception statement from your version. */ package org.omg.PortableServer; import gnu.CORBA.Minor; +import gnu.CORBA.OrbRestricted; import org.omg.CORBA.Any; import org.omg.CORBA.BAD_OPERATION; @@ -60,7 +61,7 @@ public abstract class ServantLocatorHelper */ public static TypeCode type() { - return ORB.init().create_interface_tc(id(), "ServantLocator"); + return OrbRestricted.Singleton.create_interface_tc(id(), "ServantLocator"); } /** |