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

Andrew John Hughes andrew at openjdk.org
Wed Nov 8 00:35:08 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 is a simple fix and clean backport for a regression introduced by [https://bugs.openjdk.org/browse/JDK-8297955](JDK-8297955) which was backported in 17.0.8. 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/jdk17u-dev/pull/1951/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1951&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/jdk17u-dev/pull/1951.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1951/head:pull/1951

PR: https://git.openjdk.org/jdk17u-dev/pull/1951


More information about the jdk-updates-dev mailing list