<AWT Dev> [9] Review request for 8178996 [macos] JComboBox doesn't display popup in mixed JavaFX Swing Application on 8u131 and Mac OS 10.12

Sergey Bylokhov sergey.bylokhov at oracle.com
Thu May 11 15:34:45 UTC 2017


Hi, Alex.
Why you need a separate flag since you can use the ref.get()!=0? and the ref is set if the block is executed.

----- alexander.zvegintsev at oracle.com wrote:

> Hi all,
> 
> please review the fix
> 
> http://cr.openjdk.java.net/~azvegint/jdk/9/8178996/00/
> 
> for the issue
> 
> https://bugs.openjdk.java.net/browse/JDK-8178996
> 
> 
> Popup doesn't show up due to owner is lightweight frame and doesn't
> have 
> a native pointer,
> 
> thus we do not invoke owner.execute() code block, while 
> nativeCreateNSWindow should be called with null ownerPtr.
> 
> 
> -- 
> Thanks,
> Alexander.


More information about the awt-dev mailing list