RFR: 8274050: Unnecessary Vector usage in javax.crypto [v2]

Valerie Peng valeriep at openjdk.java.net
Tue Sep 28 21:11:37 UTC 2021


On Tue, 28 Sep 2021 21:01:20 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

>> In [JDK-8268873](https://bugs.openjdk.java.net/browse/JDK-8268873) I missed a few places, where Vector could be replaced with ArrayList.
>> Usage of thread-safe collection `Vector` is unnecessary. It's recommended to use `ArrayList` if a thread-safe implementation is not needed.
>
> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8274050: Unnecessary Vector usage in javax.crypto

Marked as reviewed by valeriep (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/5261



More information about the security-dev mailing list