// a test. Get the default copier from the ORB.
// XXX should we just make the default copier available directly
// and avoid constructing one on each call?
CopierManager cm = lorb.getCopierManager() ;
ObjectCopier copier = cm.getDefaultObjectCopierFactory().make() ;
return copier.copy( obj ) ;
}
} catch (ReflectiveCopyException exc) {
RemoteException rexc = new RemoteException() ;
rexc.initCause( exc ) ;
throw rexc ;