--- old/test/jdk/java/net/Socket/UrgentDataTest.java 2019-03-12 11:44:14.911745214 +0000 +++ new/test/jdk/java/net/Socket/UrgentDataTest.java 2019-03-12 11:44:14.655745223 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -57,7 +57,7 @@ test.listener = new ServerSocket (0); test.isClient = true; test.isServer = true; - test.clHost = "127.0.0.1"; + test.clHost = InetAddress.getLoopbackAddress().getHostAddress(); test.clPort = test.listener.getLocalPort(); test.run(); } else if (args[0].equals ("-server")) {