8255348: NPE in PKIXCertPathValidator event logging code#2150
8255348: NPE in PKIXCertPathValidator event logging code#2150coffeys wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back coffeys! A progress list of the required criteria for merging this PR into |
Webrevs
|
| anchor.getTrustedCert().hashCode(); | ||
| int anchorCertId = 0; | ||
| X509Certificate trustedCert = anchor.getTrustedCert(); | ||
| if (trustedCert != null) { |
There was a problem hiding this comment.
You could use the anchorCert variable which was set earlier instead of calling getTrustedCert() again.
| if (trustedCert != null) { | ||
| anchorCertId = trustedCert.hashCode(); | ||
| } else { | ||
| if (anchor.getCAPublicKey() != null) { |
There was a problem hiding this comment.
Per the TrustAnchor API, you can't create a TrustAnchor with a null public key, so I don't think you need this check.
|
Mailing list message from Se=c3=a1n Coffey on hotspot-jfr-dev: Thanks for the comments Sean. Code updated. https://github.com//pull/2150/commits/8a344a85303297f17a6e75e7c1f423c2d16c451a regards, On 21/01/2021 19:47, Sean Mullan wrote: |
|
@coffeys 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: 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 263 new commits pushed to the
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 |
|
/integrate |
|
@coffeys Since your change was applied there have been 264 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 18eb6d9. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Correction of NPE and updating of test cases. Minor refactoring of test library also.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/2150/head:pull/2150$ git checkout pull/2150