On Thu, 25 Jan 2024 10:56:33 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
> Taking the above into account, I appears that the code inside > `ShellFolder.invoke.call` should actually be inside `synchronized > (fileCache)`. It would resolve `ConcurrentModificationException`. > > And you should revert the changes you made in > [JDK-8323670](https://bugs.openjdk.org/browse/JDK-8323670). This bug is the > proof that fix didn't help. > > Ideally, we should have a test which reproduces the problem… Yet, as with all > concurrency issues, writing such a test could be very hard. Yeah, sure then I'll revert the changes and update the changes. ------------- PR Comment: https://git.openjdk.org/jdk/pull/17462#issuecomment-1909937365