On Fri, 15 Mar 2024 11:39:05 GMT, Christoph Langer <[email protected]> wrote:

> > > I added it to our testing. Results early next week.
> > 
> > 
> > @RealCLanger Thank you. I'm more interested in the failing case. How 
> > reliable does the test reproduce the problem?
> 
> Yes, it's running in 21 and 22 as well, so we'll see what happens there.

We got the following, once in jdk21u and once in jdk21u-dev on macintelx64 
through the weekend:

> 2024-03-16 05:55:37.407 java[3056:1287194577] XType: Using static font 
> registry.
> 2024-03-16 05:55:38.047 java[3056:1287194577] name is : .SFNS-Regular
> 2024-03-16 05:55:38.047 java[3056:1287194577] family is : .AppleSystemUIFont
> 2024-03-16 05:55:38.047 java[3056:1287194577] name is : .SFNS-Bold
> 2024-03-16 05:55:38.047 java[3056:1287194577] family is : .AppleSystemUIFont
> 2024-03-16 05:55:38.616 java[3056:1287194577] nsFont-name is : 
> .AppleSystemUIFont
> 2024-03-16 05:55:38.616 java[3056:1287194577] nsFont-family is : 
> .AppleSystemUIFont
> 2024-03-16 05:55:38.616 java[3056:1287194577] nsFont-desc-name is : 
> .SFNS-Regular
> 2024-03-16 05:55:38.616 java[3056:1287194577] nsFont-name is : 
> .AppleSystemUIFont
> 2024-03-16 05:55:38.617 java[3056:1287194577] nsFont-family is : 
> .AppleSystemUIFontBold
> 2024-03-16 05:55:38.617 java[3056:1287194577] nsFont-desc-name is : .SFNS-Bold
> 2024-03-16 05:55:38.629 java[3056:1287194577] nsFont-name is : 
> .AppleSystemUIFont
> 2024-03-16 05:55:38.629 java[3056:1287194577] nsFont-family is : 
> .AppleSystemUIFont
> 2024-03-16 05:55:38.629 java[3056:1287194577] nsFont-desc-name is : 
> .SFNS-Regular
> 2024-03-16 05:55:38.629 java[3056:1287194577] nsFont-name is : 
> .AppleSystemUIFont
> 2024-03-16 05:55:38.629 java[3056:1287194577] nsFont-family is : 
> .AppleSystemUIFontBold
> 2024-03-16 05:55:38.629 java[3056:1287194577] nsFont-desc-name is : .SFNS-Bold
> Exception in Basic L&F File Loading Thread: class 
> java.util.ConcurrentModificationException
> 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:2310)
>       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:1583)

So it seems to work that the test can reproduce the issue.

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

PR Comment: https://git.openjdk.org/jdk/pull/18109#issuecomment-2004174197

Reply via email to