--- a/test/jdk/java/net/CookieHandler/LocalHostCookie.java Mon Jun 17 15:31:49 2019 +0800
+++ b/test/jdk/java/net/CookieHandler/LocalHostCookie.java Mon Jun 17 20:03:34 2019 +0100
@@ -33,8 +33,11 @@
/*
* @test
* @bug 7169142
+ * @key intermittent
* @modules jdk.httpserver
- * @summary CookieHandler does not work with localhost
+ * @summary CookieHandler does not work with localhost. This requires
+ * binding to the wildcard address and might fail intermittently
+ * due to port reuse issues.
* @run main/othervm LocalHostCookie
*/
public class LocalHostCookie {
@@ -126,4 +129,3 @@
}
}
}
-