openjdk-25: [XWayland] Two java2d tests crashes the XServer in Ubuntu 24.04 Wayland VMs
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/
2. sun/java2d/
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]