Code Review Request JDK-8146725 Issues with SignatureAndHashAlgorithm.getSupportedAlgorithms

Bradford Wetmore bradford.wetmore at oracle.com
Sat Jan 9 01:25:48 UTC 2016


Looks good.

brad



On 1/8/2016 4:44 PM, Xuelei Fan wrote:
> Hi,
>
> Please review this simple fix for JDK-8146725.
>
> In the SignatureAndHashAlgorithm.getSupportedAlgorithms() method, there
> is a synchronization block on a static final collection, priorityMap.
> The priorityMap would not get update any more after the instantiation.
> The synchronization is not actually necessary.
>
> See the attack diff for the fix.  No new regression test.
>
> Thanks,
> Xuelei
>



More information about the security-dev mailing list