RFR: 8293984: Unnecessary Vector usage in PropertyEditorSupport [v2]

Andrey Turbanov aturbanov at openjdk.org
Sun Oct 9 21:03:52 UTC 2022


> Field PropertyEditorSupport.listeners is accessed only under `synchronized(this)`.
> It means extra synchronization by Vector is not needed.

Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:

  8293984: Unnecessary Vector usage in PropertyEditorSupport
  
  use ArrayList constructor instead of clone

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10331/files
  - new: https://git.openjdk.org/jdk/pull/10331/files/b15462b4..303e4fbd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10331&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10331&range=00-01

  Stats: 6 lines in 1 file changed: 0 ins; 5 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10331.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10331/head:pull/10331

PR: https://git.openjdk.org/jdk/pull/10331



More information about the client-libs-dev mailing list