ZoneId is attempting to verify the 'Host' header set by the HttpURLConnection implementation when given an IPv6 literal containing a scope id. It does so by iterating the network interfaces on the machine attempting to find one that is suitable to use as the listening interface for a temporary test HTTP sever. Then it connects to it, and verifies the value of the 'Host' header.
This is problematic as some interfaces like teredo on Windows, or awdl on Mac, are not suitable. Rather than all this, the test can use the IPv6 loopback address, which can contain a scope id, if retrieved from the NetworkInterface API. http://cr.openjdk.java.net/~chegar/8085785/ https://bugs.openjdk.java.net/browse/JDK-8085785 -Chris.