Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Miss Skooterâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #290701 | Initial revision | — | 11 months ago |
Answer | — |
A: What is the purpose of having a wrapper class for JarFile in Spring-boot-loader? Why does the wrapper exists and why doesn't it override `close()`? Apparently, this wrapper was introduced to "Attempt to fix memory leak in JarFile class". The memory leak issue was caused by a change in java 11 that introduced `FinalizableResource` which made it so that any JarFile implementatio... (more) |
— | 11 months ago |
Edit | Post #290628 | Initial revision | — | 11 months ago |
Question | — |
What is the purpose of having a wrapper class for JarFile in Spring-boot-loader? My question relates to Spring-boot-loader v2.6.15. For the purposes of this question, I will refer to Spring's custom `JarFile` class as `CustomJarFile` to avoid confusion. Context I am reusing some of the jar package code in spring-boot-loader. I noticed that they define their own `Cust... (more) |
— | 11 months ago |