-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Swing problems
Some tests involving javax.swing classes, like ObjectViewerTest, run indefinitely as they don't pass the point that window should be visible (setVisible(true)). A deeper analysis showed that those tests stay in an infinite loop at sun.misc.Unsafe.park method, a "wait-like" method that is system-dependant (thus, unsafe).
Strangely, other tests like AbstractObjectEditorTest show no issue.
Those errors were seen in a system with the following configurations:
OS
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Java version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
Also, those tests passed in an ubuntu 18.04 with the same version of openjdk, but a different build (build 1.8.0_252-b09)