diff options
Diffstat (limited to 'org/omg/DynamicAny/DynStructHelper.java')
-rw-r--r-- | org/omg/DynamicAny/DynStructHelper.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org/omg/DynamicAny/DynStructHelper.java b/org/omg/DynamicAny/DynStructHelper.java index 021c5d031..c683260f6 100644 --- a/org/omg/DynamicAny/DynStructHelper.java +++ b/org/omg/DynamicAny/DynStructHelper.java @@ -38,6 +38,8 @@ exception statement from your version. */ package org.omg.DynamicAny; +import gnu.CORBA.OrbRestricted; + import org.omg.CORBA.BAD_PARAM; import org.omg.CORBA.TypeCode; import org.omg.CORBA.ORB; @@ -103,7 +105,7 @@ public abstract class DynStructHelper */ public static TypeCode type() { - return ORB.init().create_interface_tc(id(), "DynStruct"); + return OrbRestricted.Singleton.create_interface_tc(id(), "DynStruct"); } /** |