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.
------------- Commit messages: - fix indentation - fix ConcurrentModificationException in MediaPlayer.java Changes: https://git.openjdk.org/jfx/pull/1377/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1377&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8146918 Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 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