diff -r 925ee7a89325 -r 62b6e7587b1f test/jdk/java/net/MulticastSocket/Promiscuous.java --- a/test/jdk/java/net/MulticastSocket/Promiscuous.java Wed May 08 12:45:02 2019 -0700 +++ b/test/jdk/java/net/MulticastSocket/Promiscuous.java Tue Apr 16 13:06:23 2019 -0700 @@ -23,6 +23,7 @@ /* @test * @bug 8014499 + * @library /test/lib * @summary Test for interference when two sockets are bound to the same * port but joined to different multicast groups * @run main Promiscuous @@ -32,6 +33,7 @@ import java.io.IOException; import static java.lang.System.out; import java.net.*; +import jdk.test.lib.net.IPSupport; public class Promiscuous { @@ -113,6 +115,8 @@ } public static void main(String args[]) throws IOException { + IPSupport.skipIfCurrentConfigurationIsInvalid(); + String os = System.getProperty("os.name"); // Requires IP_MULTICAST_ALL on Linux (new since 2.6.31) so skip