Please review this PR that upgrades winsock lib from version 1 (wsock32) to version 2 (ws2_32) and removes unnecessary libs from the build.
With the winsock upgrade we should be able to avoid loading wsock32.dll at runtime. Winsock is only needed for `htonl` function, and wsock32.dll forwards that function to ws2_32 anyway. All jgss/krb5 (jdk_security4) tests continue to pass. ------------- Commit messages: - Upgrade winsock and remove unused libs Changes: https://git.openjdk.org/jdk/pull/12805/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12805&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8303442 Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/12805.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12805/head:pull/12805 PR: https://git.openjdk.org/jdk/pull/12805