Hello, 
    Please review the fix for jdk 8.
         displayChanged() was added to LWWindowPeer and CGraphicsDevice. Note     that I move out unnecessary calls to the appkit thread(in     CGLayer.nativeSetScale() and CGraphicsDevice.getX), because it can     cause a deadlock, when called from the non-appkit thread.
    
    Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8009012
    Webrev can be found at:     http://cr.openjdk.java.net/~serb/8009012/webrev.00     --  Best regards, Sergey.     ">

(original) (raw)

Hello,
Please review the fix for jdk 8.
displayChanged() was added to LWWindowPeer and CGraphicsDevice. Note that I move out unnecessary calls to the appkit thread(in CGLayer.nativeSetScale() and CGraphicsDevice.getX), because it can cause a deadlock, when called from the non-appkit thread.

Bug: http://bugs.sun.com/bugdatabase/view\_bug.do?bug\_id=8009012
Webrev can be found at: http://cr.openjdk.java.net/\~serb/8009012/webrev.00
--   
Best regards, Sergey.