[jdk11u-dev] RFR: 8312126: NullPointerException in CertStore.getCRLs after 8297955

Andrew John Hughes andrew at openjdk.org
Fri Nov 24 07:19:35 UTC 2023


Hi all,

This pull request contains a backport of commit [3c743cfe](https://github.com/openjdk/jdk/commit/3c743cfea00692d0b938cb1cbde936084eecf369) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.

The commit being backported was authored by Sean Mullan on 15 Sep 2023 and was reviewed by Weijun Wang. It was backported to 17u on 2023-11-10.

It is a simple fix and clean backport for a regression introduced by [JDK-8297955](https://bugs.openjdk.org/browse/JDK-8297955) which was backported in 11.0.21. The new code in JDK-8297955 failed to catch a null  IssuerName, allowing a NullPointerException to be thrown instead of the specified CertStoreException.

Thanks.

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

Commit messages:
 - Backport 3c743cfea00692d0b938cb1cbde936084eecf369

Changes: https://git.openjdk.org/jdk11u-dev/pull/2299/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2299&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8312126
  Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2299.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2299/head:pull/2299

PR: https://git.openjdk.org/jdk11u-dev/pull/2299


More information about the jdk-updates-dev mailing list