<AWT Dev> [9] Review Request: 8132382 [macosx] Crash during JMC execution

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Jul 29 15:51:28 UTC 2015

Please review the fix for jdk9.

In the fix 8068886[1] the new native resources deallocation code assumes 
that we have a full control over the Cocoa NSApplication. This is 
incorrect in case of embedding, when NSApplication is controlled by swt 
or fx libraries. In the fix I add an additional check that the necessary 
selector exists in the current NSApp.

[1] http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/b26427c5b3fe

Bug: https://bugs.openjdk.java.net/browse/JDK-8132382
Webrev can be found at: http://cr.openjdk.java.net/~serb/8132382/webrev.02

Best regards, Sergey.

More information about the awt-dev mailing list