8205397: InetAddress has wrong declaration for readObjectNoData

Reviewed-by: alanb, rriggs
This commit is contained in:
Daniel Fuchs 2018-06-27 20:19:59 +01:00
parent 3a0cd3fcae
commit ed19b48e71
2 changed files with 2 additions and 1 deletions

View file

@ -1709,7 +1709,7 @@ class InetAddress implements java.io.Serializable {
return (InetAddressImpl) impl;
}
private void readObjectNoData (ObjectInputStream s) throws
private void readObjectNoData () throws
IOException, ClassNotFoundException {
if (getClass().getClassLoader() != null) {
throw new SecurityException ("invalid address type");