RFR: 8375549: ConcurrentModificationException if jdk.crypto.disabledAlgorithms has multiple entries with known oid [v2]
Sean Mullan
mullan at openjdk.org
Fri Jan 23 14:13:47 UTC 2026
On Fri, 23 Jan 2026 00:57:01 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
>> Inside the CryptoAlgorithmConstraints constructor, there is a loop looking up the known oid. Iterating over the "disabledServices" set and inserting the found oid(s) into it leads to ConcurrentModificationException when the set contains multiple entries. The proposed fix is to iterating over the array converted from the set which is also used for debugging output instead of the "disabledServices" set itself.
>>
>> Thanks,
>> Valerie
>
> Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:
>
> Removed an unused import from test.
Marked as reviewed by mullan (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/29335#pullrequestreview-3697697634
More information about the security-dev
mailing list