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

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Tue Sep 28 21:01:20 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5261/files
  - new: https://git.openjdk.java.net/jdk/pull/5261/files/6ac642fe..9e01a41f

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5261&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5261&range=00-01

  Stats: 6 lines in 2 files changed: 0 ins; 3 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5261.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5261/head:pull/5261

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


More information about the security-dev mailing list