RFR: 8268873: Unnecessary Vector usage in java.base
Sean Mullan
mullan at openjdk.java.net
Fri Jun 18 18:31:32 UTC 2021
On Mon, 14 Jun 2021 11:34:50 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:
> Usage of thread-safe collection `Vector` is unnecessary. It's recommended to use `ArrayList` if a thread-safe implementation is not needed.
> I checked only places where `Vector` was used as local variable.
The change to `PKCS7::verify(byte[])` looks fine.
-------------
Marked as reviewed by mullan (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4482
More information about the security-dev
mailing list