RFR: 8345139: Fix bugs and inconsistencies in the Provider services map [v5]

Martin Balao mbalao at openjdk.org
Thu Apr 3 00:33:52 UTC 2025


On Wed, 5 Mar 2025 01:40:55 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> Francisco Ferrari Bihurriet has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Clear ServicesMap fields in the declared order
>>   
>>   Constructors assign the fields in the same order.
>
> src/java.base/share/classes/java/security/Provider.java line 1370:
> 
>> 1368:          * Algorithm and alias based entries pointing to the old version of the
>> 1369:          * service are overwritten.
>> 1370:          */
> 
> Comment for this method should note that this method is only for the Legacy registration...

Sounds good. I added a note.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22613#discussion_r2025818389


More information about the security-dev mailing list