JDK-8319453 : Some client tests still intermittently throw ConcurrentModificationException after JDK-8307091
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 22
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • Submitted: 2023-11-05
  • Updated: 2023-11-28
  • Resolved: 2023-11-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Relates :  
Description
The problem fixed by JDK-8307091 seems to be occurring again:

java.util.ConcurrentModificationException
	at java.base/java.util.AbstractList$SubList.checkForComodification(AbstractList.java:906)
	at java.base/java.util.AbstractList$SubList.size(AbstractList.java:792)
	at java.base/java.util.AbstractCollection.toArray(AbstractCollection.java:143)
	at java.base/java.util.Collections$SynchronizedCollection.toArray(Collections.java:2311)
	at java.base/java.util.Vector.<init>(Vector.java:182)
	at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader$1.call(BasicDirectoryModel.java:365)
	at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader$1.call(BasicDirectoryModel.java:342)
	at java.desktop/sun.awt.shell.ShellFolderManager$DirectInvoker.invoke(ShellFolderManager.java:148)
	at java.desktop/sun.awt.shell.ShellFolder.invoke(ShellFolder.java:532)
	at java.desktop/sun.awt.shell.ShellFolder.invoke(ShellFolder.java:518)
	at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run0(BasicDirectoryModel.java:342)
	at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run(BasicDirectoryModel.java:295)
	at java.base/java.lang.Thread.run(Thread.java:1570)
Comments
Couldn't reproduce the observation, yet will keep the bug open to monitor for its occurrences.
14-11-2023