RFR: 8328864: NullPointerException in sun.security.jca.ProviderList.getService() [v2]

Weijun Wang weijun at openjdk.org
Wed Apr 17 19:51:03 UTC 2024


On Wed, 17 Apr 2024 19:14:30 GMT, Ben Perez <duke at openjdk.org> wrote:

>> Updated `getService` to check whether `getProvider` returns null when checking for preferred providers and `continue` the loop if that is the case. Added `NullPreferredList` test.
>
> Ben Perez has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
> 
>  - Merge branch 'openjdk:master' into JDK-8328864
>  - Fixed copyright, removed unnecessary null check in ProviderList
>  - Fixed and renamed test, getService now continues loop instead of returning null
>  - added test file

Marked as reviewed by weijun (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/18746#pullrequestreview-2007001742



More information about the security-dev mailing list