RFR: 8146918: ConcurrentModificationException in MediaPlayer [v3]
n-gabe
duke at openjdk.org
Thu Apr 25 04:22:36 UTC 2024
On Mon, 22 Apr 2024 15:05:07 GMT, n-gabe <duke at 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.
>
> n-gabe has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove needless copyright year
Thanks, please /integrate
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1377#issuecomment-2076330503
More information about the openjfx-dev
mailing list