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.
Do we have a test application to reproduce this issue? I tired to create one based on bug description, but was not able to reproduce issue. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1377#issuecomment-2065544045