You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update jar `Handler` fallback logic to directly support Tomcat
'jar:war:file' URLs. This commit allows contents to be accessed without
the JDK needing to extracted the nested jar to the temporary folder.
Closesgh-24553
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/Handler.java
+42-1Lines changed: 42 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,8 @@ public class Handler extends URLStreamHandler {
Copy file name to clipboardExpand all lines: spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-tests/spring-boot-loader-tests-app/src/main/java/org/springframework/boot/loaderapp/LoaderTestApplication.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@
16
16
17
17
packageorg.springframework.boot.loaderapp;
18
18
19
+
importjava.io.File;
20
+
importjava.net.JarURLConnection;
19
21
importjava.net.URL;
20
22
importjava.util.Arrays;
21
23
@@ -33,7 +35,14 @@ public class LoaderTestApplication {
Copy file name to clipboardExpand all lines: spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-tests/src/intTest/java/org/springframework/boot/loader/LoaderIntegrationTests.java
0 commit comments