test/jdk/java/net/SocketPermission/SocketPermissionTest.java
changeset 54822 f542a3a135bd
parent 47216 71c04702a3d5
equal deleted inserted replaced
54821:85ccac8a8c13 54822:f542a3a135bd
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8047031
    26  * @bug 8047031
    27  * @summary SocketPermission tests for legacy socket types
    27  * @key intermittent
       
    28  * @summary SocketPermission tests for legacy socket types.
       
    29  *          This test needs to bind its servers to the wildcard
       
    30  *          address and as such may fail intermittently.
    28  * @library /test/lib
    31  * @library /test/lib
    29  * @build jdk.test.lib.NetworkConfiguration
    32  * @build jdk.test.lib.NetworkConfiguration
    30  *        jdk.test.lib.Platform
    33  *        jdk.test.lib.Platform
    31  * @run testng/othervm SocketPermissionTest
    34  * @run testng/othervm SocketPermissionTest
    32  */
    35  */