--- a/src/java.base/windows/classes/java/net/DualStackPlainDatagramSocketImpl.java Thu Apr 26 09:45:47 2018 +0900
+++ b/src/java.base/windows/classes/java/net/DualStackPlainDatagramSocketImpl.java Wed Apr 25 18:30:38 2018 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -69,7 +69,7 @@
if (fd == null)
throw new SocketException("Socket closed");
- int newfd = socketCreate(false /* v6Only */);
+ int newfd = socketCreate();
fdAccess.set(fd, newfd);
}
@@ -274,7 +274,7 @@
private static native void initIDs();
- private static native int socketCreate(boolean v6Only);
+ private static native int socketCreate();
private static native void socketBind(int fd, InetAddress localAddress,
int localport, boolean exclBind) throws SocketException;