On Fri, 29 Nov 2024 14:50:47 GMT, Francisco Ferrari Bihurriet 
<fferr...@openjdk.org> wrote:

> Hi, this pull request modifies the _SunNativeGSS_ security provider to stop 
> using the legacy Provider APIs (`Provider::putAll`) and start using the new 
> ones (`Provider::putService`).
> 
> Changes in this pull request have been removed from #15539, as they aren't a 
> dependency for that work, but just an opportunistic enhancement we made 
> there. As a consequence, this pull request is the reverse of 
> 29e9cba970fdbbd2192c8d2de1e93a03b1b0d1e1, the removal of this work from 
> #15539 (except that we later renamed `constructMechMap` as `getMechOIDs`, and 
> `sun.security.action.PutAllAction` was removed by 
> 940aa7c4cf1bf770690660c8bb21fb3ddc5186e4, so it is no longer part of this 
> pull request).
> 
> #### Testing
> 
> As part of our testing, we observed all the tests pass in the following 
> categories:
> 
> * `jdk:tier1` (see [run 
> 12073939529](https://github.com/franferrax/jdk/actions/runs/12073939529) and 
> [run 12129046506](https://github.com/franferrax/jdk/actions/runs/12129046506))
> * `jdk/java/security`
> 
> Additionally, we found no regressions with respect to the baseline 
> (959fa4a1a35a1bb650ec5888efaf3d0fc8cfb025) in the following category:
> 
> * `jdk/sun/security`
>     * We obtained the same results in both codebases (the two 
> `<reportDir>/text/summary.txt` files are identical).
>       | Results                 |     |
>       |-------------------------|----:|
>       | Tests that passed       | 797 |
>       | Tests that failed       |  16 |
>       | Tests that had errors   |   2 |
>       | Tests that were not run |  35 |
>       | Total                   | 850 |
>     * In particular, the tests that enable the _SunNativeGSS_ security 
> provider, all passed:
>         * 
> [jdk/sun/security/jgss/GssContextCleanup.java](https://github.com/openjdk/jdk/blob/959fa4a1a35a1bb650ec5888efaf3d0fc8cfb025/test/jdk/sun/security/jgss/GssContextCleanup.java#L48)
>         * 
> [jdk/sun/security/jgss/GssNameCleanup.java](https://github.com/openjdk/jdk/blob/959fa4a1a35a1bb650ec5888efaf3d0fc8cfb025/test/jdk/sun/security/jgss/GssNameCleanup.java#L47)
>         * 
> [jdk/sun/security/krb5/auto/BasicProc.java](https://github.com/openjdk/jdk/blob/959fa4a1a35a1bb650ec5888efaf3d0fc8cfb025/test/jdk/sun/security/krb5/auto/BasicProc.java#L276)
>         * 
> [jdk/sun/security/krb5/auto/Cleaners.java](https://github.com/openjdk/jdk/blob/959fa4a1a35a1bb650ec5888efaf3d0fc8cfb025/test/jdk/sun/security/krb5/auto/Cleaners.java#L176)
>         * 
> [jdk/sun/security/krb5/auto/ReplayCacheTestProc.java](https://github.com/openjdk/jdk/blob/959fa4a1a35a1bb650ec5888efaf3...

This pull request has now been integrated.

Changeset: a49f0776
Author:    Francisco Ferrari Bihurriet <fferr...@openjdk.org>
Committer: Martin Balao <mba...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/a49f0776eb176129f558b6fab3f50e0453f8cbcb
Stats:     15 lines in 1 file changed: 3 ins; 3 del; 9 mod

8345221: Replace legacy with new Provider APIs in SunNativeGSS

Co-authored-by: Francisco Ferrari Bihurriet <fferr...@openjdk.org>
Co-authored-by: Martin Balao <mba...@openjdk.org>
Reviewed-by: weijun

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

PR: https://git.openjdk.org/jdk/pull/22461

Reply via email to