Closed
Description
#28506 introduced JPMS support in PathMatchingResourcePatternResolver
by using ModuleFinder.ofSystem()
, but it has introduced a significant footprint increase on native (close to 2M RSS) due to the transitive usage of JarVerifier
and related crypto classes.
This commit skip ModuleFinder.ofSystem()
usage on native since JPMS usage is pretty niche, so it is probably ok to skip it on native. We may be able to re-introduce JPMS on native support there if we achieve to support this use case via #29081.