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

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Thu Sep 23 20:31:16 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5264/files
  - new: https://git.openjdk.java.net/jdk/pull/5264/files/6ce045aa..91bfda89

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

  Stats: 26 lines in 11 files changed: 0 ins; 13 del; 13 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5264.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5264/head:pull/5264

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


More information about the security-dev mailing list