Thierry Lach

Greenhorn
+ Follow
since Oct 09, 2020
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Thierry Lach

I have an application which I am trying to upgrade from running under Java 8 (pre-licensed version) to OpenJDK 13. This application is started when a user logs in and sleeps for a time interval, then wakes up and calls a web service to see if it should display. The display is full screen, dimensions set by calling getGraphicsDevice().getDisplayMode().getWidth()/getHeight() (getGraphicsDevice().getFullScreenWindow() returns null).

The application runs as expected using OpenJDK 13 on MS Windows.

It is started when the user logs in by using a launch agent plist with the KeepALive set to true.

It is launched with the following command to use the embedded JRE. No other JRE exists on the computer. $CP is intentionally omitted as it is long.



On MacOS over 75% of the time the application hangs when displaying the window.

Environment:





The custom JRE is built using the following Maven configuration:


Using jstack running in a shell loop in a terminal session I see that there appears to be a deadlock between the AppKit Thread and the AWT Event Queue:

3 years ago