On Fri, 11 Nov 2022 13:57:39 GMT, pandaapo <d...@openjdk.org> wrote: > > If you want to instead do some general cleanup in this class for JDK 20, > > you could instead remove this method and several other unused methods from > > `JarVerifier`. > > Before I began to make general cleanup, I looked up from this unused method > `JarVerifier#mapSignersToCodeSource()`and found all related call stacks: >  > Can I also remove these methods from `JarFile`, `JavaUtilJarAccess` and its > only implementation `JavaUtilJarAccessImpl`?
Yes. I believe the `setEagerValidation` method can also be removed and all code that calls it. ------------- PR: https://git.openjdk.org/jdk/pull/11072