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

Print this page

        

@@ -78,11 +78,11 @@
         throws StubNotFoundException
     {
         String className = desc.getClassName();
 
         try {
-            Class cl =
+            Class<?> cl =
                 RMIClassLoader.loadClass(desc.getLocation(), className);
             RemoteRef clientRef = new ActivatableRef(id, null);
             return Util.createProxy(cl, clientRef, false);
 
         } catch (IllegalArgumentException e) {

@@ -371,11 +371,11 @@
         String className = in.readUTF();
 
         if (className.equals("")) return;
 
         try {
-            Class refClass = Class.forName(RemoteRef.packagePrefix + "." +
+            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",