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

javax/swing/JRootPane/DefaultButtonTest.java failed with Default Button not pressed for L&F: com.sun.java.swing.plaf.motif.MotifLookAndFeel

    XMLWordPrintable

Details

    Backports

      Description

        javax/swing/JRootPane/DefaultButtonTest.java failed (once) in the loom repo on linux-x64 with:

        ----------System.out:(5/292)----------
        Testing L&F: javax.swing.plaf.metal.MetalLookAndFeel
        Test Passed for L&F: javax.swing.plaf.metal.MetalLookAndFeel
        Testing L&F: javax.swing.plaf.nimbus.NimbusLookAndFeel
        Test Passed for L&F: javax.swing.plaf.nimbus.NimbusLookAndFeel
        Testing L&F: com.sun.java.swing.plaf.motif.MotifLookAndFeel
        ----------System.err:(12/907)----------
        java.lang.RuntimeException: Test Failed, Default Button not pressed for L&F: com.sun.java.swing.plaf.motif.MotifLookAndFeel
        at DefaultButtonTest.runTest(DefaultButtonTest.java:104)
        at DefaultButtonTest.main(DefaultButtonTest.java:47)
        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:127)
        at java.base/java.lang.Thread.run(Thread.java:1555)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Test Failed, Default Button not pressed for L&F: com.sun.java.swing.plaf.motif.MotifLookAndFeel
        JavaTest Message: shutting down test

        The loom repo is currently sync'ed with jdk-19+19. This failure is unlikely to be caused by any changes in the loom repo.

        Attachments

          Issue Links

            Activity

              People

                psadhukhan Prasanta Sadhukhan
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: