8267564: JDK-8252971 causes SPECjbb2015 socket exceptions on Windows when MKS is installed

Reviewed-by: alanb
This commit is contained in:
Michael McMahon 2021-06-08 07:58:54 +00:00
parent 00c88f79b3
commit 61ab4b9d18
3 changed files with 68 additions and 10 deletions

View file

@ -160,7 +160,7 @@ class UnixDomainSockets {
return n;
}
private static native boolean socketSupported();
private static native boolean init();
private static native int socket0() throws IOException;
@ -176,6 +176,6 @@ class UnixDomainSockets {
static {
// Load all required native libs
IOUtil.load();
supported = socketSupported();
supported = init();
}
}