[jdk17u-dev] RFR: 8328864: NullPointerException in sun.security.jca.ProviderList.getService()

Satyen Subramaniam ssubramaniam at openjdk.org
Fri Apr 4 19:03:21 UTC 2025


Backporting JDK-8328864: NullPointerException in sun.security.jca.ProviderList.getService(). Updated `getService` to check whether `getProvider` returns null when checking for preferred providers, continuing the loop if so. Added NullPreferredList test. Ran GHA Sanity Checks, local Tier 1 and 2 tests. Patch is clean.

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

Commit messages:
 - Backport cd3a607576bede17f48c3d5ebde2bf05f3b615ba

Changes: https://git.openjdk.org/jdk17u-dev/pull/3442/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3442&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328864
  Stats: 48 lines in 3 files changed: 45 ins; 1 del; 2 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3442.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3442/head:pull/3442

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


More information about the jdk-updates-dev mailing list