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
|
@ -49,6 +49,7 @@ ifeq ($(OPENJDK_TARGET_OS), macosx)
|
|||
MACH_EXC_SERVER := $(MIG_OUTPUT_DIR)/mach_excServer.c
|
||||
|
||||
$(MACH_EXC_SERVER): $(SDKROOT)/usr/include/mach/mach_exc.defs
|
||||
$(call MakeTargetDir)
|
||||
$(MIG) -isysroot $(SDKROOT) -server $@ -user $(MACH_EXC_USER) \
|
||||
-header $(MACH_EXC_HEADER) $(SDKROOT)/usr/include/mach/mach_exc.defs
|
||||
|
||||
|
|
|
@ -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