RFR: 8323670: A few client tests intermittently throw ConcurrentModificationException
Tejesh R
tr at openjdk.org
Thu Jan 25 11:12:34 UTC 2024
On Thu, 25 Jan 2024 10:56:33 GMT, Alexey Ivanov <aivanov at 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
More information about the client-libs-dev
mailing list