Join GitHub today
Hardcode the junit xml hostname to avoid doing DNS lookups in tests #7329
As described in the removed code, https://bugs.openjdk.java.net/browse/JDK-8170910 means that hostname lookups on OSX can sometimes take a very long time.
But the effect of executing a hostname lookup in the test runner is that we impose this cost even on tests that are well behaved and don't access the network.
Hardcode the hostname to localhost, which also has advantages for test reproducibility.
Faster network-oblivious tests.