RFR: 8377338: URLJarFile$URLJarFileEntry need not clone the arrays returned by getCertificates() and getCodeSigners() [v2]
Jaikiran Pai
jpai at openjdk.org
Tue Feb 10 15:03:28 UTC 2026
On Tue, 10 Feb 2026 13:33:20 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> Jaikiran Pai 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:
>>
>> - merge latest from master branch
>> - remove unused imports
>> - URLJarFile$URLJarFileEntry need not clone the arrays returned by getCertificates() and getCodeSigners()
>
> src/java.base/share/classes/sun/net/www/protocol/jar/URLJarFile.java line 1:
>
>> 1: /*
>
> You can also remove the imports of `Certificate` and`CodeSigner`.
Good catch. I've updated the PR to remove those imports.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29600#discussion_r2788475769
More information about the net-dev
mailing list