[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Integrated: 8146918: ConcurrentModificationException in MediaPlayer
From:       n-gabe <duke () openjdk ! org>
Date:       2024-04-25 13:00:44
Message-ID: bXxYlW7iMTa08LDoCVPr-DUogYyJvQGfyWw0DJO6FHU=.7008c862-6dfa-45ca-a26a-5fdcc04b967e () github ! com
[Download RAW message or body]

On Thu, 22 Feb 2024 17:16:42 GMT, n-gabe <duke@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-gabe@users.noreply.github.com>
Committer: Kevin Rushforth <kcr@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic