Public bug reported:

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

** Affects: openjdk-25 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2106794

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-25/+bug/2106794/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to