Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8327137

Add test for ConcurrentModificationException in BasicDirectoryModel

    XMLWordPrintable

Details

    Backports

      Description

        I created a test to reproduce ConcurrentModificationException in BasicDirectoryModel. There were several attempts to fix the problem: JDK-8240690 and later JDK-8307091, JDK-8323670.

        None of these fixes provided a reproducer.

        During code review [1] for JDK-8323670, I mentioned that the problem can be reproduced by my test. After that, I fine-tuned the test. However, it doesn't always reproduce the problem, it's stable enough.

        [1] https://github.com/openjdk/jdk/pull/17462#issuecomment-1914844026

        Attachments

          Issue Links

            Activity

              People

                aivanov Alexey Ivanov
                aivanov Alexey Ivanov
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: