# HG changeset patch # User amlu # Date 1476966010 -28800 # Node ID f68910c5c9f5d335966ca7b20e4bf23015630593 # Parent 855537e5ad9c79554cadeba2e8cbe5e5d1fbed64 8146257: sun/net/www/protocol/jar/B4957695.java fails intermittently with java.lang.RuntimeException: some jar_cache files left behind Reviewed-by: chegar diff -r 855537e5ad9c -r f68910c5c9f5 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 */