Re: RFR: 8344024: Unnecessary Hashtable usage in RSAPSSSignature.DIGEST_LENGTHS

2024-11-13 Thread Valerie Peng
On Fri, 1 Nov 2024 12:15:36 GMT, Andrey Turbanov wrote: > The field `sun.security.rsa.RSAPSSSignature#DIGEST_LENGTHS` is modified only > in ``. It means we can use Immutable Map instead of Hashtable. > Hashtable is legacy synchronized class, which have `synchronized` on its > `get` method. It's

Re: RFR: 8344024: Unnecessary Hashtable usage in RSAPSSSignature.DIGEST_LENGTHS

2024-11-13 Thread Sean Mullan
On Fri, 1 Nov 2024 12:15:36 GMT, Andrey Turbanov wrote: > The field `sun.security.rsa.RSAPSSSignature#DIGEST_LENGTHS` is modified only > in ``. It means we can use Immutable Map instead of Hashtable. > Hashtable is legacy synchronized class, which have `synchronized` on its > `get` method. It's

RFR: 8344024: Unnecessary Hashtable usage in RSAPSSSignature.DIGEST_LENGTHS

2024-11-12 Thread Andrey Turbanov
The field `sun.security.rsa.RSAPSSSignature#DIGEST_LENGTHS` is modified only in ``. It means we can use Immutable Map instead of Hashtable. Hashtable is legacy synchronized class, which have `synchronized` on its `get` method. It's not needed in our case. - Commit messages: - [PATC