8146257: sun/net/www/protocol/jar/B4957695.java fails intermittently with java.lang.RuntimeException: some jar_cache files left behind
authoramlu
Thu, 20 Oct 2016 20:20:10 +0800
changeset 41593 f68910c5c9f5
parent 41592 855537e5ad9c
child 41594 e54e81e9be7b
8146257: sun/net/www/protocol/jar/B4957695.java fails intermittently with java.lang.RuntimeException: some jar_cache files left behind Reviewed-by: chegar
jdk/test/sun/net/www/protocol/jar/B4957695.java
--- a/jdk/test/sun/net/www/protocol/jar/B4957695.java	Thu Oct 20 12:31:24 2016 +0100
+++ b/jdk/test/sun/net/www/protocol/jar/B4957695.java	Thu Oct 20 20:20:10 2016 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,7 @@
 /**
  * @test
  * @bug 4957695
+ * @run main/othervm -Djava.io.tmpdir=. B4957695
  * @summary URLJarFile.retrieve does not delete tmpFile on IOException
  */