Integrated: 8274050: Unnecessary Vector usage in javax.crypto
Andrey Turbanov
github.com+741251+turbanoff at openjdk.java.net
Wed Sep 29 18:25:44 UTC 2021
On Thu, 26 Aug 2021 06:19:49 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.
This pull request has now been integrated.
Changeset: 79cebe2c
Author: Andrey Turbanov <turbanoff at gmail.com>
Committer: Valerie Peng <valeriep at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/79cebe2c1b1e7f43377633b62c970528cac0a786
Stats: 31 lines in 2 files changed: 2 ins; 9 del; 20 mod
8274050: Unnecessary Vector usage in javax.crypto
Reviewed-by: valeriep
-------------
PR: https://git.openjdk.java.net/jdk/pull/5261
More information about the security-dev
mailing list