<AWT Dev> [9] Review request for 8068886: IDEA IntelliJ crashes in objc_msgSend when an accessibility tool is enabled

Anton Nashatyrev anton.nashatyrev at oracle.com
Fri May 8 16:52:13 UTC 2015


Hello,
     could you please review the following fix:

fix: http://cr.openjdk.java.net/~anashaty/8068886/webrev.00/ 
<http://cr.openjdk.java.net/%7Eanashaty/8068886/webrev.00/>
bug: 
https://bugs.openjdk.java.net/browse/JDK-8068886<https://bugs.openjdk.java.net/browse/JDK-8025145>

     Problem: the native window pointer is disposed in the inner AppKit 
loop, while it is still referenced on the stack in the native Cocoa 
method which caused the mentioned inner loop. When the inner loop is 
exited Cocoa crashes while dereferencing this window pointer

     Fix: dispose resources in the main AppKit loop only. For this a 
'dispose message' posted which is processed only on the main loop.

Thanks!
Anton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20150508/045d6618/attachment.html>


More information about the awt-dev mailing list