src/share/classes/sun/rmi/server/ActivatableRef.java

Print this page

        

*** 78,88 **** throws StubNotFoundException { String className = desc.getClassName(); try { ! Class cl = RMIClassLoader.loadClass(desc.getLocation(), className); RemoteRef clientRef = new ActivatableRef(id, null); return Util.createProxy(cl, clientRef, false); } catch (IllegalArgumentException e) { --- 78,88 ---- throws StubNotFoundException { String className = desc.getClassName(); try { ! Class<?> cl = RMIClassLoader.loadClass(desc.getLocation(), className); RemoteRef clientRef = new ActivatableRef(id, null); return Util.createProxy(cl, clientRef, false); } catch (IllegalArgumentException e) {
*** 371,381 **** String className = in.readUTF(); if (className.equals("")) return; try { ! Class refClass = Class.forName(RemoteRef.packagePrefix + "." + className); ref = (RemoteRef)refClass.newInstance(); ref.readExternal(in); } catch (InstantiationException e) { throw new UnmarshalException("Unable to create remote reference", --- 371,381 ---- String className = in.readUTF(); if (className.equals("")) return; try { ! Class<?> refClass = Class.forName(RemoteRef.packagePrefix + "." + className); ref = (RemoteRef)refClass.newInstance(); ref.readExternal(in); } catch (InstantiationException e) { throw new UnmarshalException("Unable to create remote reference",