Modified Windows specific loopback macros to support full range of loopback addresses, commit message includes unit test data as there's no gtest's for java libraries (only hotspot compiler)
This is an expansion on the original fix for 8250521: Configure initial RTO to use minimal retry for loopback connections on Windows IPV4 loopback addresses are defined as 127.0.0.0/8 the CIDR translates to a range of 127.0.0.0 to 127.255.255.255 inclusive. The previous macro implementation only identified 127.0.0.1 and ::1 as loopback addresses, this is corrected in this change Note that as IPV6 is defined as ::1/128 only ::1 is a valid loopback address ------------- Commit messages: - 8255264: Support for identifying the full range of IPv4 localhost addresses on Windows Changes: https://git.openjdk.java.net/jdk/pull/1523/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1523&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8255264 Stats: 17 lines in 1 file changed: 6 ins; 0 del; 11 mod Patch: https://git.openjdk.java.net/jdk/pull/1523.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1523/head:pull/1523 PR: https://git.openjdk.java.net/jdk/pull/1523