RFR: 8327137: Add test for ConcurrentModificationException in BasicDirectoryModel [v3]
Alexey Ivanov
aivanov at openjdk.org
Fri Mar 22 21:48:33 UTC 2024
On Fri, 22 Mar 2024 21:05:09 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> > Instantiating JFileChooser on EDT adds complexity for no benefit. The JFileChooser is still accessed concurrently from several threads, including Swing internal thread.
>
> But still, this is a common requirement to create UI components on EDT, and that will replicate more or less how it will work in the application.
And it is a common requirement ***not** to call `fileChooser.rescanCurrentDirectory` concurrently* in 5 different threads. So it does not apply.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18109#discussion_r1536253490
More information about the client-libs-dev
mailing list