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: