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

Andrew John Hughes andrew at openjdk.org
Fri Nov 24 07:26:33 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 and [a PR is open for 11u](https://github.com/openjdk/jdk11u-dev/pull/2299).

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 [PR 388](https://github.com/openjdk/jdk8u-dev/pull/388). The new code in JDK-8297955 failed to catch a null  IssuerName, allowing a NullPointerException to be thrown instead of the specified CertStoreException.

Thanks.

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

Depends on: https://git.openjdk.org/jdk8u-dev/pull/388

Commit messages:
 - Backport 3c743cfea00692d0b938cb1cbde936084eecf369

Changes: https://git.openjdk.org/jdk8u-dev/pull/389/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=389&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/jdk8u-dev/pull/389.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/389/head:pull/389

PR: https://git.openjdk.org/jdk8u-dev/pull/389


More information about the jdk8u-dev mailing list