Hello. Please review the fix for JDK 14. Bug: https://bugs.openjdk.java.net/browse/JDK-8235547 Fix: http://cr.openjdk.java.net/~serb/8235547/webrev.01
Every window's peer on macOS has a native OGL surface which is used as a back buffer for CAOpenGLLayer. This surface should be disposed in two cases, when the layer is resized or if the layer is disposed. But the second case is not implemented, the OGL surface is leaked when the layer is dispoed. -- Best regards, Sergey.