RFR 8181635/10, sun/net/www/protocol/jar/B6449504.java fails at Windows platform (after JDK-8181414)

Felix Yang felix.yang at oracle.com
Tue Jun 6 04:52:20 UTC 2017


Hi,

    please review the patch to make the test run with othervm mode. It 
has been observed to be failing in agentvm mode, because Jar connection 
is not closed in prior test.

Bug: https://bugs.openjdk.java.net/browse/JDK-8181635

Patch:

--- old/test/sun/net/www/protocol/jar/B6449504.java	2017-06-05 21:32:37.163040164 -0700
+++ new/test/sun/net/www/protocol/jar/B6449504.java	2017-06-05 21:32:36.992604088 -0700
@@ -24,8 +24,8 @@
  /**
   * @test
   * @bug 6449504
- * @run main B6449504 caching
- * @run main B6449504 no_caching
+ * @run main/othervm B6449504 caching
+ * @run main/othervm B6449504 no_caching
   * @summary REGRESSION: ZipException throws when try to read a XML file
   */
  

Thanks,
Felix


More information about the net-dev mailing list