Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8312126: NullPointerException in CertStore.getCRLs after 8297955 #1951

Closed
wants to merge 1 commit into from

Conversation

gnu-andrew
Copy link
Member

@gnu-andrew gnu-andrew commented Nov 8, 2023

Hi all,

This pull request contains a backport of commit 3c743cfe from the openjdk/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 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.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8312126 needs maintainer approval

Issue

  • JDK-8312126: NullPointerException in CertStore.getCRLs after 8297955 (Bug - P4 - Approved)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/1951/head:pull/1951
$ git checkout pull/1951

Update a local copy of the PR:
$ git checkout pull/1951
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/1951/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1951

View PR using the GUI difftool:
$ git pr show -t 1951

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/1951.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 8, 2023

👋 Welcome back andrew! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot changed the title Backport 3c743cfea00692d0b938cb1cbde936084eecf369 8312126: NullPointerException in CertStore.getCRLs after 8297955 Nov 8, 2023
@openjdk
Copy link

openjdk bot commented Nov 8, 2023

This backport pull request has now been updated with issue from the original commit.

@openjdk
Copy link

openjdk bot commented Nov 8, 2023

⚠️ @gnu-andrew This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@openjdk openjdk bot added the rfr Pull request is ready for review label Nov 8, 2023
@mlbridge
Copy link

mlbridge bot commented Nov 8, 2023

Webrevs

@gnu-andrew
Copy link
Member Author

/approval request This is a simple fix and clean backport for a regression introduced by JDK-8297955, which was backported in 17.0.8. The revised code in 8297955 now throws a NullPointerException where it should throw a CertStoreException.

@openjdk
Copy link

openjdk bot commented Nov 8, 2023

@gnu-andrew
8312126: The approval request has been created successfully.

@openjdk openjdk bot added the approval label Nov 8, 2023
@GoeLin
Copy link
Member

GoeLin commented Nov 9, 2023

/approve yes

@openjdk
Copy link

openjdk bot commented Nov 9, 2023

@GoeLin
8312126: The approval request has been approved.

@openjdk
Copy link

openjdk bot commented Nov 9, 2023

@gnu-andrew This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8312126: NullPointerException in CertStore.getCRLs after 8297955

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 4 new commits pushed to the master branch:

  • 8b9a72e: 8317374: Add Let's Encrypt ISRG Root X2
  • a4fe7ac: 8316461: Fix: make test outputs TEST SUCCESS after unsuccessful exit
  • 1240b34: 8276819: javax/print/PrintServiceLookup/FlushCustomClassLoader.java fails to free
  • 5cb86e3: 8273831: PrintServiceLookup spawns 2 threads in the current classloader, getting orphaned

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added ready Pull request is ready to be integrated and removed approval labels Nov 9, 2023
@gnu-andrew
Copy link
Member Author

Thanks @GoeLin
/integrate

@openjdk
Copy link

openjdk bot commented Nov 10, 2023

Going to push as commit 0cdcc13.
Since your change was applied there have been 6 commits pushed to the master branch:

  • b506559: 8309258: RISC-V: Add riscv_hwprobe syscall
  • 312f8c0: 8319525: RISC-V: Rename *_riscv64.ad files to *_riscv.ad under riscv/gc
  • 8b9a72e: 8317374: Add Let's Encrypt ISRG Root X2
  • a4fe7ac: 8316461: Fix: make test outputs TEST SUCCESS after unsuccessful exit
  • 1240b34: 8276819: javax/print/PrintServiceLookup/FlushCustomClassLoader.java fails to free
  • 5cb86e3: 8273831: PrintServiceLookup spawns 2 threads in the current classloader, getting orphaned

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Nov 10, 2023
@openjdk openjdk bot closed this Nov 10, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Nov 10, 2023
@openjdk
Copy link

openjdk bot commented Nov 10, 2023

@gnu-andrew Pushed as commit 0cdcc13.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport clean integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

2 participants