<AWT Dev> [9] Review request: 8041896 Test closed/java/awt/Choice/RemoveAllShrinkTest/RemoveAllShrinkTest fails with java.awt.IllegalComponentStateException

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Mon May 12 15:44:29 UTC 2014


Hello AWT team,

please review the fix
http://cr.openjdk.java.net/~azvegint/jdk/9/8041896/00/
for the issue
https://bugs.openjdk.java.net/browse/JDK-8041896

This test failure is a regression of the JDK-7159566 
<https://bugs.openjdk.java.net/browse/JDK-7159566> fix. We trying to 
call getLocationOnScreen() on a hidden popup.
We hide it if item count is 0 in AquaComboBoxPopup.show().
However, native Cocoa apps doesn't show a popup if it is empty at all, 
this fix do the same for java.

With this fix RemoveAllShrinkTest test moved to open.

-- 
Thanks,

Alexander.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20140512/b771d7a7/attachment.html>


More information about the awt-dev mailing list