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

misc javax/swing tests failing

    XMLWordPrintable

Details

    • b10
    • Verified

    Description

      The following javax/swing tests are failing in the JDK20 CI:

      javax/swing/JList/4618767/JListSelectedElementTest.java
      javax/swing/JTree/4618767/JTreeSelectedElementTest.java
      javax/swing/event/RightAltKeyTest.java

      Here's a snippet from a JListSelectedElementTest.java log file:

      #section:main
      ----------messages:(5/211)----------
      command: main JListSelectedElementTest
      reason: User specified action: run main JListSelectedElementTest
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 11.215
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(1/61)----------
      Test passed for laf: javax.swing.plaf.metal.MetalLookAndFeel
      ----------System.err:(12/950)----------
      java.lang.RuntimeException: Waited too long, but can't select menu using mnemonics for javax.swing.plaf.nimbus.NimbusLookAndFeel
      at JListSelectedElementTest.runTest(JListSelectedElementTest.java:129)
      at JListSelectedElementTest.main(JListSelectedElementTest.java:69)
      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:1589)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Waited too long, but can't select menu using mnemonics for javax.swing.plaf.nimbus.NimbusLookAndFeel
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Waited too long, but can't select menu using mnemonics for javax.swing.plaf.nimbus.NimbusLookAndFeel
      ----------rerun:(41/5614)*----------


      Here's a snippet from a JTreeSelectedElementTest.java log file:

      #section:main
      ----------messages:(5/211)----------
      command: main JTreeSelectedElementTest
      reason: User specified action: run main JTreeSelectedElementTest
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 11.574
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(1/61)----------
      Test passed for laf: javax.swing.plaf.metal.MetalLookAndFeel
      ----------System.err:(11/879)----------
      java.lang.RuntimeException: Waited too long, but can't select menu using mnemonics for javax.swing.plaf.nimbus.NimbusLookAndFeel
      at JTreeSelectedElementTest.main(JTreeSelectedElementTest.java:119)
      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:1589)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Waited too long, but can't select menu using mnemonics for javax.swing.plaf.nimbus.NimbusLookAndFeel
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Waited too long, but can't select menu using mnemonics for javax.swing.plaf.nimbus.NimbusLookAndFeel
      ----------rerun:(41/5614)*----------


      Here's a snippet from a RightAltKeyTest.java test log file:

      #section:main
      ----------messages:(5/197)----------
      command: main RightAltKeyTest
      reason: User specified action: run main RightAltKeyTest
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 3.402
      ----------configuration:(3/43)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(13/969)----------
      java.lang.RuntimeException: Actions are not performed for JMenu with javax.swing.plaf.nimbus.NimbusLookAndFeel look and feel.
      at RightAltKeyTest.errLog(RightAltKeyTest.java:261)
      at RightAltKeyTest.test(RightAltKeyTest.java:203)
      at RightAltKeyTest.main(RightAltKeyTest.java:267)
      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:1589)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Actions are not performed for JMenu with javax.swing.plaf.nimbus.NimbusLookAndFeel look and feel.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Actions are not performed for JMenu with javax.swing.plaf.nimbus.NimbusLookAndFeel look and feel.
      ----------rerun:(46/4732)*----------

      Attachments

        Issue Links

          Activity

            People

              psadhukhan Prasanta Sadhukhan
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: