mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8205397: InetAddress has wrong declaration for readObjectNoData
Reviewed-by: alanb, rriggs
This commit is contained in:
parent
3a0cd3fcae
commit
ed19b48e71
2 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue