ObjectCopier copier = cm.getDefaultObjectCopierFactory().make() ;
return copier.copy( obj ) ;
}
} catch (ReflectiveCopyException exc) {
RemoteException rexc = new RemoteException() ;
rexc.initCause( exc ) ;
throw rexc ;
}
} else {
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream)orb.create_output_stream();