> Collections.synchronizedList() returns a List implementation that doesn't do 
> proper locking. This PR does the following on the synchronized wrapper:
> 
> - overrides and adds locking to SequencedCollection methods;
> - performs instance management of reversed synchronized views;
> - adds test for race conditions and functional tests of synchronized wrappers.

Stuart Marks has updated the pull request incrementally with one additional 
commit since the last revision:

  Reversed view of SynchronizedRandomAccessList should also be RandomAccess.
  Add tests to ensure RandomAccess is preserved when reversing.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24990/files
  - new: https://git.openjdk.org/jdk/pull/24990/files/fe351510..1750bb20

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

  Stats: 33 lines in 2 files changed: 33 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/24990.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24990/head:pull/24990

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

Reply via email to