RFR: 8296734: JarVerifier:: mapSignersToCodeSource should cache in map [v2]

pandaapo duke at openjdk.org
Sat Nov 19 03:42:37 UTC 2022


On Fri, 18 Nov 2022 15:38:47 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> 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.

OK. Thanks.

-------------

PR: https://git.openjdk.org/jdk/pull/11072


More information about the security-dev mailing list