JVM hang with Swing and macOS

Sergey Bylokhov bylokhov at amazon.com
Thu Mar 23 16:48:43 UTC 2023


On 3/21/23 10:39, Martin Pernollet wrote:
> Hi,
> 
> Thank you Sergey, Michael and Alan.
> 
> It seams the OGLUtilities does not exists anymore 
> <https://github.com/openjdk/jdk/tree/master/src/java.desktop/macosx/classes/sun/java2d/opengl>. Do 
> you know if there is a replacer?

It is in the shared folder:
https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/sun/java2d/opengl/OGLUtilities.java

Note that it allows to run the ogl code on a special thread where the java2d use the OGL, and it is 
not an appkit.

-- 
Best regards, Sergey.




More information about the client-libs-dev mailing list