spring-boot icon indicating copy to clipboard operation
spring-boot copied to clipboard

Refactor JarFile and support classes

Open philwebb opened this issue 4 years ago • 3 comments

This fix for #25538 has shown that we could really do with refactoring JarFile and supporting classes. We ideally shouldn't need to behave differently just because a SecurityManager is installed.

philwebb avatar Jun 03 '21 00:06 philwebb

If I may add to this: https://openjdk.java.net/jeps/411 is deprecating the SecurityManager for removal.

dreis2211 avatar Jun 03 '21 05:06 dreis2211

Ahh yes, thanks @dreis2211. It'll be interesting to see if we can support older and newer JDKs at the same time.

philwebb avatar Jun 15 '21 20:06 philwebb

I think I might have a similar problem. But I'm not sure if it has anything to do with this, I saved a snapshot with jmap. https://github.com/onlyGuo/other/raw/master/huanbao.zip

onlyGuo avatar Jan 22 '22 09:01 onlyGuo

The nested jar rewrite in 3.2 has taken care of this.

wilkinsona avatar May 31 '24 16:05 wilkinsona