RFR: 8273299: Unnecessary Vector usage in java.security.jgss [v2]

Weijun Wang weijun at openjdk.java.net
Fri Sep 24 16:48:02 UTC 2021


On Thu, 23 Sep 2021 20:31:16 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.
>
> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8273299: Unnecessary Vector usage in java.security.jgss
>   use result of toArray to make sure our array is properly filled

Marked as reviewed by weijun (Reviewer).

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

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



More information about the security-dev mailing list