RFR: 8366522: CodeSource.getCodeSigners() throws NPE within empty certs [v4]
Sean Mullan
mullan at openjdk.org
Thu Jan 8 20:48:33 UTC 2026
On Tue, 30 Dec 2025 04:39:43 GMT, Kirill Shirokov <duke at openjdk.org> wrote:
>> The new tests cover only NPE scenarios.
>
> Kirill Shirokov 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 five additional commits since the last revision:
>
> - Make CodeSource.getCodeSigners() return empty array of CodeSigners when constructed with emtpy array of certificates. Update the jtreg test to test null/empty array combinations of certificates and code signers
> - Merge branch 'master' into JDK-8366522-fix-npe-codeSourceGetCodeSigners
> - Merge branch 'master' into JDK-8366522-fix-npe-codeSourceGetCodeSigners
> - Merge branch 'master' into JDK-8366522-fix-npe-codeSourceGetCodeSigners
> - 8366522: CodeSource.getCodeSigners() throws NPE within empty certs
test/jdk/java/security/CodeSource/CodeSourceNoInputs.java line 1:
> 1: /*
Can you try to keep the lines to within 80 or so characters? Thanks.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27105#discussion_r2673840860
More information about the security-dev
mailing list