changeset 15878:ce42c7f1578f

8146257: sun/net/www/protocol/jar/B4957695.java fails intermittently with java.lang.RuntimeException: some jar_cache files left behind Reviewed-by: chegar
author amlu
date Thu, 20 Oct 2016 20:20:10 +0800
parents 500727df5cea
children 668bf5f35b35
files test/sun/net/www/protocol/jar/B4957695.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/net/www/protocol/jar/B4957695.java	Thu Oct 20 12:31:24 2016 +0100
+++ b/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
  */