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/jdk/internal/access/JavaUtilJarAccess.java line 40: > 38: public interface JavaUtilJarAccess { > 39: public boolean jarFileHasClassPathAttribute(JarFile jar) throws > IOException; > 40: public Enumeration<JarEntry> entries2(JarFile jar); I think `entries2` and `getManifestDigests` are also useless now. ------------- PR: https://git.openjdk.org/jdk/pull/11072