[8] Review request for 7174718: [macosx] Regression in 7u6 b12: PopupFactory leaks DefaultFrames.
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Jun 25 06:24:48 PDT 2012
Hi, Anthony.
Fix looks good to me.
22.06.2012 08:55, Anthony Petrov wrote:
> 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
--
Best regards, Sergey.
More information about the macosx-port-dev
mailing list