- 
    Type:
Bug
 - 
    Resolution: Fixed
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: 8, 11, 20, 22
 - 
    Component/s: client-libs
 
- 
        b07
 - 
        x86_64
 - 
        linux
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8354132 | 21.0.8-oracle | Khalid Boulanouare | P4 | Resolved | Fixed | b03 | 
| JDK-8354369 | 21.0.8 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 | 
| JDK-8354134 | 17.0.16-oracle | Khalid Boulanouare | P4 | Resolved | Fixed | b03 | 
| JDK-8354388 | 17.0.16 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 | 
| JDK-8354131 | 11.0.28-oracle | Khalid Boulanouare | P4 | Resolved | Fixed | b03 | 
| JDK-8354133 | 8u461 | Khalid Boulanouare | P4 | Resolved | Fixed | b03 | 
javax/swing/JFileChooser/JFileChooserSetLocationTest.java
Here's a snippet from the log file:
#section:main
----------messages:(7/293)----------
command: main JFileChooserSetLocationTest
reason: User specified action: run main JFileChooserSetLocationTest
started: Fri Oct 21 16:14:49 UTC 2022
Mode: othervm
Additional options from @modules: --add-modules java.desktop
finished: Fri Oct 21 16:14:59 UTC 2022
elapsed time (seconds): 9.573
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(28/929)----------
Testing javax.swing.plaf.metal.MetalLookAndFeel
createDialog and set location to (75, 75)
verify 75==75; 75==75
Test passed
createDialog and set location to (512, 217)
verify 512==507; 217==217
Test passed
createDialog and set location to (512, 217)
verify 512==507; 217==217
Test passed
Test Passed, All cases passed for javax.swing.plaf.metal.MetalLookAndFeel
Testing javax.swing.plaf.nimbus.NimbusLookAndFeel
createDialog and set location to (75, 75)
verify 75==75; 75==75
Test passed
createDialog and set location to (512, 218)
verify 512==512; 218==218
Test passed
createDialog and set location to (512, 218)
verify 512==512; 218==218
Test passed
Test Passed, All cases passed for javax.swing.plaf.nimbus.NimbusLookAndFeel
Testing com.sun.java.swing.plaf.motif.MotifLookAndFeel
createDialog and set location to (75, 75)
verify 75==75; 75==75
Test passed
createDialog and set location to (512, 222)
verify 512==512; 222==211
----------System.err:(12/812)----------
java.lang.RuntimeException: Test Failed, setLocation() is not working properly
at JFileChooserSetLocationTest.verify(JFileChooserSetLocationTest.java:184)
at JFileChooserSetLocationTest.main(JFileChooserSetLocationTest.java:136)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1591)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test Failed, setLocation() is not working properly
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test Failed, setLocation() is not working properly
----------rerun:(43/5324)*----------
There is another unresolved bug for this same test, but that bug is
tracking a different failure mode:
JDK-8289895 JFileChooserSetLocationTest.java always fails in a single Windows machine
- backported by
 - 
                    
JDK-8354131 javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"
-         
     - Resolved
 
 -         
 - 
                    
JDK-8354132 javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"
-         
     - Resolved
 
 -         
 - 
                    
JDK-8354133 javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"
-         
     - Resolved
 
 -         
 - 
                    
JDK-8354134 javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"
-         
     - Resolved
 
 -         
 - 
                    
JDK-8354369 javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"
-         
     - Resolved
 
 -         
 - 
                    
JDK-8354388 javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"
-         
     - Resolved
 
 -         
 
- links to
 - 
                    
        
        Commit
        openjdk/jdk/05dad67c
    
 - 
                    
        
        Commit(master)
        openjdk/jdk17u-dev/865442e1
    
 - 
                    
        
        Commit(master)
        openjdk/jdk21u-dev/831bf838
    
 - 
                    
        
        Review
        openjdk/jdk/17364
    
 - 
                    
        
        Review(master)
        openjdk/jdk17u-dev/3477
    
 - 
                    
        
        Review(master)
        openjdk/jdk21u-dev/1633