< prev index next >
src/java.base/share/classes/java/net/InetAddress.java
Print this page
*** 1707,1718 ****
}
return (InetAddressImpl) impl;
}
! private void readObjectNoData () throws
! IOException, ClassNotFoundException {
if (getClass().getClassLoader() != null) {
throw new SecurityException ("invalid address type");
}
}
--- 1707,1717 ----
}
return (InetAddressImpl) impl;
}
! private void readObjectNoData () {
if (getClass().getClassLoader() != null) {
throw new SecurityException ("invalid address type");
}
}
< prev index next >