RFR: 8323670: A few client tests intermittently throw ConcurrentModificationException
Tejesh R
tr at openjdk.org
Fri Jan 19 07:26:26 UTC 2024
On Fri, 19 Jan 2024 00:13:10 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> What is the code path which modifies the vector when we iterate it?
I don't think we are able to trace it out, since the issue intermittent and previously I had made a copy of the vector list before checking for equality of the list. There was again an issue in the code which I used to copy to a temporary vector. So now instead of using` AbstractList.equals` I'm using iterators and comparing every element within synchronized method.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17462#issuecomment-1899895294
More information about the client-libs-dev
mailing list