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

[XWayland] Disable SwingNodePlatformExitCrashTest on wayland

XMLWordPrintable

      We see that SwingNodePlatformExitCrashTest hangs and doesn't exit ans hows below stack trace when run using wayland on Ubuntu 24.04.

      "Test worker" #3 [10090] prio=5 os_prio=0 cpu=251667.53ms elapsed=254.51s tid=0x000074f038033350 nid=10090 runnable [0x000074f03fb16000]
         java.lang.Thread.State: RUNNABLE
      at sun.awt.screencast.ScreencastHelper.getRGBPixelsImpl(java.desktop@24/Native Method)
      at sun.awt.screencast.ScreencastHelper.getRGBPixels(java.desktop@24/ScreencastHelper.java:196)
      - locked <0x00000000c2200000> (a java.lang.Class for sun.awt.screencast.ScreencastHelper)
      at sun.awt.X11.XRobotPeer.getRGBPixel(java.desktop@24/XRobotPeer.java:122)
      at java.awt.Robot.getPixelColor(java.desktop@24/Robot.java:431)
      - locked <0x00000000c1d00000> (a java.awt.Robot)
      at test.robot.javafx.embed.swing.SwingNodeBase.testAbove(SwingNodeBase.java:215)
      at test.robot.javafx.embed.swing.SwingNodePlatformExitCrashTest.testPlatformExitBeforeShowHoldEDT(SwingNodePlatformExitCrashTest.java:49)
      at java.lang.invoke.LambdaForm$DMH/0x0000000004001000.invokeVirtual(java.base@24/LambdaForm$DMH)

      If the same test is run using X org it passes.
      So we need to disable this test on wayland until JDK-8350009 is fixed.

            jdv Jayathirth D V
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: