On Wed, 3 May 2023 16:13:53 GMT, Tejesh R <t...@openjdk.org> wrote:

> Few test are throwing Concurrent Modification Exception Intermittently. Since 
> the issue is intermittent and from the log and code review, It is found that 
> the shared variable `fileCache` is used in comparison with the `newFileCache` 
> where the comparison invokes the iterator method in AbstractList class. Since 
> based on vector documentation it was evident that listIterator are fail-fast 
> iterators and hence it would be better to make a separate local copy of 
> vectors for comparing operations. 
> The same is implemented and tested in CI system which shows green.

This pull request has now been integrated.

Changeset: 465bdd9e
Author:    Tejesh R <t...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/465bdd9e416cacc6cc7dd91a29cc84adf2eaf1ed
Stats:     18 lines in 1 file changed: 8 ins; 2 del; 8 mod

8307091: A few client tests intermittently throw ConcurrentModificationException

Reviewed-by: prr, dnguyen

-------------

PR: https://git.openjdk.org/jdk/pull/13783

Reply via email to