On Thu, 22 Feb 2024 17:16:42 GMT, n-gabe <d...@openjdk.org> wrote: > 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.
This pull request has now been integrated. Changeset: d8ca38a6 Author: n-gabe <11182122+n-g...@users.noreply.github.com> Committer: Kevin Rushforth <k...@openjdk.org> URL: https://git.openjdk.org/jfx/commit/d8ca38a6b7ed918318b956add150a5ae9c4c0981 Stats: 5 lines in 1 file changed: 1 ins; 0 del; 4 mod 8146918: ConcurrentModificationException in MediaPlayer Reviewed-by: almatvee ------------- PR: https://git.openjdk.org/jfx/pull/1377