# HG changeset patch # User xuelei # Date 1609267756 0 # Node ID 9078bcb5499aca75e827b91881fb2ff526795649 # Parent ab6bdab852918057a619f9f725534e49e1fab0ef 8257670: sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java reports leaks Reviewed-by: jnimeh diff -r ab6bdab85291 -r 9078bcb5499a test/sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java --- a/test/sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java Tue Dec 22 20:28:49 2020 +0000 +++ b/test/sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java Tue Dec 29 18:49:16 2020 +0000 @@ -31,7 +31,7 @@ /* * @test - * @bug 8256818 + * @bug 8256818 8257670 * @summary Test that creating and closing SSL Sockets without bind/connect * will not leave leaking socket file descriptors * @run main/native/manual/othervm SSLSocketLeak @@ -45,6 +45,7 @@ * /FeFileUtils.dll * jtreg <...> -nativepath:. \jdk\test\sun\security\ssl\SSLSocketImpl\SSLSocketLeak.java */ +// Note: this test is not reliable, run it manually. public class SSLSocketLeak { private static final int NUM_TEST_SOCK = 500;