iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/CorbaNamingContext.java
private String getObjectOID(org.omg.CORBA.Object object) {
        String oid = null;
        try {
            byte[] oidBytes = this.poa.reference_to_id(object);
            if (oidBytes != null)
                oid = new String(oidBytes, StandardCharsets.UTF_8);
        } catch (Exception e) {
            IIOPLogger.ROOT_LOGGER.debug("Unable to obtain id from object", e);
        }
        return oid;
    }
private String getObjectOID(org.omg.CORBA.Object object) {
        String oid = null;
        try {
            byte[] oidBytes = this.poa.reference_to_id(object);
            if (oidBytes != null)
                oid = new String(oidBytes, StandardCharsets.UTF_8);
        } catch (Exception e) {
            IIOPLogger.ROOT_LOGGER.debug("Unable to obtain id from object", e);
        }
        return oid;
    }
private String getObjectOID ( org . omg . CORBA . Object object ) { String oid = null ; try { byte [ ] oidBytes = this . poa . reference_to_id ( object ) ; if ( oidBytes != null ) oid = new String ( oidBytes , StandardCharsets . UTF_8 ) ; } catch ( Exception e ) { IIOPLogger . ROOT_LOGGER . debug ( "Unable to obtain id from object" , e ) ; } return oid ; }
<p>
Obtains the OID of the specified CORBA object.
</p>

@param object the CORBA object whose OID is to be extracted.
@return a {@code String} representing the object OID or null if the method is unable to obtain the object OID.
<p > Obtains the OID of the specified CORBA object . < / p >