src/java.base/share/classes/java/net/InetAddress.java
changeset 51181 01b8120f867a
parent 50846 d21a3d3aa4fb
child 52157 7593b9b8e8f2
--- a/src/java.base/share/classes/java/net/InetAddress.java	Fri Jul 20 12:19:28 2018 -0700
+++ b/src/java.base/share/classes/java/net/InetAddress.java	Fri Jul 20 14:46:43 2018 -0700
@@ -1709,8 +1709,7 @@
         return (InetAddressImpl) impl;
     }
 
-    private void readObjectNoData () throws
-                         IOException, ClassNotFoundException {
+    private void readObjectNoData () {
         if (getClass().getClassLoader() != null) {
             throw new SecurityException ("invalid address type");
         }