openjdk-25: [XWayland] Two java2d tests crashes the XServer in Ubuntu 24.04 Wayland VMs

Bug #2106794 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-25 (Ubuntu)
New
Undecided
Unassigned

Bug Description

The following issue is raised upstream:
---
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.
---[1]

[1] https://bugs.openjdk.org/browse/JDK-8354097

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.