Merge branch '2.3.x' into 2.4.x

Closes gh-24554
This commit is contained in:
Phillip Webb
2020-12-17 20:47:13 -08:00
9 changed files with 288 additions and 10 deletions

View File

@@ -163,6 +163,7 @@ class HandlerTests {
URLConnection jdkConnection = new URL(null, "jar:file:" + testJar.toURI().toURL() + "!/nested.jar!/",
this.handler).openConnection();
assertThat(jdkConnection).isNotInstanceOf(JarURLConnection.class);
assertThat(jdkConnection.getClass().getName()).endsWith(".JarURLConnection");
}
@Test