test/org/openjdk/jigsaw/_RemoteRepositoryList.java

Print this page

        

*** 122,132 **** static String localHost; static URI local(int port, String path) throws Exception { if (localHost == null) ! localHost = InetAddress.getLocalHost().getHostName(); return URI.create("http://" + localHost + ":" + port + path); } static void testAddRemove(int port) throws Exception { --- 122,132 ---- static String localHost; static URI local(int port, String path) throws Exception { if (localHost == null) ! localHost = InetAddress.getLocalHost().getCanonicalHostName(); return URI.create("http://" + localHost + ":" + port + path); } static void testAddRemove(int port) throws Exception {