< prev index next >

src/java.base/share/classes/java/net/InetAddress.java

Print this page

        

@@ -1707,12 +1707,11 @@
         }
 
         return (InetAddressImpl) impl;
     }
 
-    private void readObjectNoData () throws
-                         IOException, ClassNotFoundException {
+    private void readObjectNoData () {
         if (getClass().getClassLoader() != null) {
             throw new SecurityException ("invalid address type");
         }
     }
 
< prev index next >