RFR: 8146918: ConcurrentModificationException in MediaPlayer [v2]
n-gabe
duke at openjdk.org
Sun Apr 21 14:39:46 UTC 2024
> There is a ConcurrentModificationException in MediaPlayer when removing a MediaView from it. The root cause is that you can't iterate over a HashSet with for (WeakReference<MediaView> vref : viewRefs) and removing items from the collection by viewRefs.remove(vref); within this loop.
n-gabe has updated the pull request incrementally with one additional commit since the last revision:
Update Copyright
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/1377/files
- new: https://git.openjdk.org/jfx/pull/1377/files/857218e8..bdc1af6e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=1377&range=01
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=1377&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jfx/pull/1377.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/1377/head:pull/1377
PR: https://git.openjdk.org/jfx/pull/1377
More information about the openjfx-dev
mailing list