Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not passing all tests on ubuntu 20.04 and openjdk-8 #22

Open
wandgibaut opened this issue Sep 22, 2021 · 0 comments
Open

Not passing all tests on ubuntu 20.04 and openjdk-8 #22

wandgibaut opened this issue Sep 22, 2021 · 0 comments
Assignees
Labels

Comments

@wandgibaut
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants