mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
MainClassFinder.findSingleMainClass(JarFile, ...) does not close the JarFile; the caller owns the resource. FindMainClass passed a newly opened JarFile without closing it, unlike sibling call sites that use try-with-resources. See gh-50949 Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>