On 3/14/23 10:38, Martin Pernollet wrote:
I work on projects involving OpenGL in Swing.
We are hitting anold JDK issue that prevent to properly run OpenGL on macOS+Swing
<https://bugs.openjdk.org/browse/JDK-8289573>. > You may know that Swing hangs on macOS when using -XstartOnFirstThread option. However, this option
is mandatory for native OpenGL to work on macOS (the reason is that OpenGL is single threaded and
that macOS impose to have all calls to OpenGL issued on the main macOS thread).
Can you please add some details on what issue did you hit. That option is not needed when the app
uses the built-in AWT/Swing, do your application use some external libraries like JOGL, SWT or JavaFX?
--
Best regards, Sergey.