<AWT Dev> [8] Review request for 8006417 : JComboBox.showPopup(), hidePopup() fails in JRE 1.7 on OS X

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Jan 17 03:24:08 PST 2013

Hi, Anton.
Fix looks good.

17.01.2013 14:29, Anton Litvinov wrote:
> Hello,
> Please review the following fix for a bug.
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8006417
> Webrev: http://cr.openjdk.java.net/~alitvinov/8006417/jdk8/webrev.00
> This bug consists in influence of a call to JComboBox.hidePopup() on 
> an immediate subsequent call to JComboBox.showPopup(), which results 
> in hiding of a popup menu shown by a call to JComboBox.showPopup(). A 
> solution is based on not posting of "sun.awt.UngrabEvent" by 
> "sun.lwawt.LWWindowPeer.ungrab()", when it is called from 
> "sun.lwawt.LWToolkit". Such a solution is adopted from similar native 
> code of JDK for Windows OS.
> Thank you,
> Anton

Best regards, Sergey.

More information about the awt-dev mailing list