RFR: 8366522: CodeSource.getCodeSigners() throws NPE within empty certs [v6]
Kirill Shirokov
duke at openjdk.org
Fri Jan 9 19:53:31 UTC 2026
> 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 eight additional commits since the last revision:
- Fixed java/security/CodeSource/CodeSourceNoInputs code style. Updated copyright year
- Merge remote-tracking branch 'origin' into JDK-8366522-fix-npe-codeSourceGetCodeSigners
- Fixed java/security/CodeSource/CodeSourceNoInputs test description
- 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27105/files
- new: https://git.openjdk.org/jdk/pull/27105/files/31aef48f..a134a9ae
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27105&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27105&range=04-05
Stats: 24928 lines in 1606 files changed: 7050 ins; 4179 del; 13699 mod
Patch: https://git.openjdk.org/jdk/pull/27105.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27105/head:pull/27105
PR: https://git.openjdk.org/jdk/pull/27105
More information about the security-dev
mailing list