JDK-8345221 : Replace legacy with new Provider APIs in SunNativeGSS
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: java.security
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2024-11-28
  • Updated: 2024-12-02
Related Reports
Relates :  
Description
The provider SunNativeGSS is the last one in OpenJDK still using the legacy Provider APIs (::putAll). The goal of this enhancement is to replace this use with the new Provider APIs (e.g. ::putService). In addition, the file `PutAllAction.java` is not longer used after JDK-8344248.

This work has been extracted from JDK-8315487, as it isn't a requirement/dependency for it.
Comments
As listed in the PR (master), there are regression tests for SunNativeGSS already. We will make sure that they pass after the proposed change.
02-12-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22461 Date: 2024-11-29 14:50:47 +0000
29-11-2024