iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/SkeletonStrategy.java
public void writeRetval(OutputStream out, Object retVal) {
        retvalWriter.write(out, RemoteObjectSubstitutionManager.writeReplaceRemote(retVal));
    }
public void writeRetval(OutputStream out, Object retVal) {
        retvalWriter.write(out, RemoteObjectSubstitutionManager.writeReplaceRemote(retVal));
    }
public void writeRetval ( OutputStream out , Object retVal ) { retvalWriter . write ( out , RemoteObjectSubstitutionManager . writeReplaceRemote ( retVal ) ) ; }
Marshals into an output stream the return value of the method.

@param out    a CDR output stream
@param retVal the value to be written.
Marshals into an output stream the return value of the method .