changeset 14442:9078bcb5499a

8257670: sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java reports leaks Reviewed-by: jnimeh
author xuelei
date Tue, 29 Dec 2020 18:49:16 +0000
parents ab6bdab85291
children ad14880e46c4
files test/sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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:. <path/to/jdk8u>\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;