See gh-13148
This commit is contained in:
Johnny Lim
2018-05-12 01:00:40 +09:00
committed by Stephane Nicoll
parent d96724077c
commit 3dd2f5bb05
9 changed files with 33 additions and 35 deletions

View File

@@ -496,7 +496,7 @@ public class JarFileTests {
.openConnection().getInputStream().close();
this.thrown.expect(FileNotFoundException.class);
new URL(context, "jar:" + this.rootJarFile.toURI() + "!/no.dat")
.openConnection().getInputStream().close();
.openConnection().getInputStream();
}
finally {
JarURLConnection.setUseFastExceptions(false);