iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java
private ValueDefImpl getJavaLangString()
            throws IRConstructionException {
        if (javaLangString == null) {
            ModuleDefImpl m = ensurePackageExists("org.omg.CORBA");
            ValueDefImpl val =
                    new ValueDefImpl("IDL:omg.org/CORBA/WStringValue:1.0",
                            "WStringValue", "1.0",
                            m, false, false,
                            new String[0], new String[0],
                            orb.get_primitive_tc(TCKind.tk_null),
                            impl);
            ValueMemberDefImpl vmdi =
                    new ValueMemberDefImpl("IDL:omg.org/CORBA/WStringValue.data:1.0",
                            "data", "1.0", orb.create_wstring_tc(0),
                            true, val, impl);
            val.add("data", vmdi);
            m.add("WStringValue", val);

            javaLangString = val;
        }

        return javaLangString;
    }
private ValueDefImpl getJavaLangString()
            throws IRConstructionException {
        if (javaLangString == null) {
            ModuleDefImpl m = ensurePackageExists("org.omg.CORBA");
            ValueDefImpl val =
                    new ValueDefImpl("IDL:omg.org/CORBA/WStringValue:1.0",
                            "WStringValue", "1.0",
                            m, false, false,
                            new String[0], new String[0],
                            orb.get_primitive_tc(TCKind.tk_null),
                            impl);
            ValueMemberDefImpl vmdi =
                    new ValueMemberDefImpl("IDL:omg.org/CORBA/WStringValue.data:1.0",
                            "data", "1.0", orb.create_wstring_tc(0),
                            true, val, impl);
            val.add("data", vmdi);
            m.add("WStringValue", val);

            javaLangString = val;
        }

        return javaLangString;
    }
private ValueDefImpl getJavaLangString ( ) throws IRConstructionException { if ( javaLangString == null ) { ModuleDefImpl m = ensurePackageExists ( "org.omg.CORBA" ) ; ValueDefImpl val = new ValueDefImpl ( "IDL:omg.org/CORBA/WStringValue:1.0" , "WStringValue" , "1.0" , m , false , false , new String [ 0 ] , new String [ 0 ] , orb . get_primitive_tc ( TCKind . tk_null ) , impl ) ; ValueMemberDefImpl vmdi = new ValueMemberDefImpl ( "IDL:omg.org/CORBA/WStringValue.data:1.0" , "data" , "1.0" , orb . create_wstring_tc ( 0 ) , true , val , impl ) ; val . add ( "data" , vmdi ) ; m . add ( "WStringValue" , val ) ; javaLangString = val ; } return javaLangString ; }
Get a reference to the special case mapping for java.lang.String.
This is according to "Java(TM) Language to IDL Mapping Specification",
section 1.3.5.10
Get a reference to the special case mapping for java . lang . String . This is according to Java ( TM ) Language to IDL Mapping Specification section 1 . 3 . 5 . 10