-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix parsing of recursive JAR URIs in CloseablePath
#3606
Conversation
e81b50f
to
d0708ad
Compare
Verified end-2-end using https://github.com/mpkorstanje/junit-5-spring-boot-3.2.0. |
Jar uris follow the format[1]: ``` jar:<url>!/[<entry>] ``` So splitting should be done on the last `!/` rather than the first. Fixes: junit-team#1724 for Spring Boot 3.2 and later. 1. https://docs.oracle.com/javase/8/docs/api/java/net/JarURLConnection.html
d0708ad
to
a0dc2ae
Compare
CloseablePath
Thanks for the PR, @mpkorstanje. 👍 Any chance you want to make nested JAR scanning work for Spring Boot versions prior to Spring Boot 3.2 as well (in a separate PR)? 😎 |
The general case? No chance. 😄 Spring Boot 3.1 has only 6 months of OSS support left. For the amount of effort involved, it would be gilding a dead lilly. The specific case of supporting scanning of |
documentation/src/docs/asciidoc/release-notes/release-notes-5.11.0-M1.adoc
Outdated
Show resolved
Hide resolved
junit-platform-commons/src/main/java/org/junit/platform/commons/util/CloseablePath.java
Outdated
Show resolved
Hide resolved
@mpkorstanje Thanks! 👍 |
Overview
Jar uris follow the format[1]:
So splitting should be done on the last
!/
rather than the first.Fixes: #1724 for Spring Boot 3.2 and later.
I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
@API
annotations