On Fri, 18 Nov 2022 03:57:32 GMT, pandaapo <d...@openjdk.org> wrote: >> The cache named `signerToCodeSource` in `JarVerifier` is never used now. > > pandaapo has updated the pull request with a new target base due to a merge > or a rebase. The incremental webrev excludes the unrelated changes brought in > by the merge/rebase. The pull request contains three additional commits since > the last revision: > > - Remove some unused methods and refactor some reldated codes. > - Merge branch 'master' into master-JDK-8296734 > - Make signerToCodeSource cache work.
src/java.base/share/classes/java/util/jar/JavaUtilJarAccessImpl.java line 43: > 41: } > 42: > 43: public CodeSource[] getCodeSources(JarFile jar, URL url) { After you remove these methods, some imports at the beginning can also be removed. ------------- PR: https://git.openjdk.org/jdk/pull/11072