mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8208060: Additional corrections of serial-related declarations
Reviewed-by: rriggs, lancea
This commit is contained in:
parent
9959e34180
commit
07cb147927
9 changed files with 8 additions and 11 deletions
|
@ -1709,8 +1709,7 @@ class InetAddress implements java.io.Serializable {
|
|||
return (InetAddressImpl) impl;
|
||||
}
|
||||
|
||||
private void readObjectNoData () throws
|
||||
IOException, ClassNotFoundException {
|
||||
private void readObjectNoData () {
|
||||
if (getClass().getClassLoader() != null) {
|
||||
throw new SecurityException ("invalid address type");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue