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

[XWayland] Two java2d tests crashes the XServer in Ubuntu 24.04 Wayland VMs

XMLWordPrintable

    • 2d
    • x86
    • linux_ubuntu

      The following two java2d tests found to be crashing the XServer in Ubuntu 24.04 Wayland VMs
      1. sun/java2d/ClassCastExceptionForInvalidSurface.java
      2. sun/java2d/GdiRendering/ClipShapeRendering.java

      When run on an Ubuntu 24.04 Wayland VM, these two tests just fail with a log : "result: Failed. Unexpected exit from test [exit code: 1]", and not much information from the logs about the failure.

      But, these tests seems to be crashing the XServer and the tests which follow these will fail with an Error:
      "java Execution failed: `main' threw exception: java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable."

      This issue is noticed only in Wayland and I couldn't see this issue in physical hosts.

        There are no Sub-Tasks for this issue.

            azvegint Alexander Zvegintsev
            mvs Manukumar V S
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: