[8] Review request for 7174718: [macosx] Regression in 7u6 b12: PopupFactory leaks DefaultFrames.
Anthony Petrov
anthony.petrov at oracle.com
Fri Jun 22 08:55:49 PDT 2012
Hello,
Please review a fix for http://bugs.sun.com/view_bug.do?bug_id=7174718 at:
http://cr.openjdk.java.net/~anthony/8-37-AWTWindowLeak-7174718.0/
This fix does the following:
1. Restores the correct CFRetainedResource's logic for CPlatformWindow.
2. Releases an instance of AWTWindow when disposing the peer to release
a reference to the NSWindow object held in the nsWindow property of
AWTWndow.
3. After creating an NSWindow object, it is released because the
nsWindow property retains it already.
The PopupFactory test passes after these changes.
--
best regards,
Anthony
More information about the macosx-port-dev
mailing list