<Swing Dev> [9] Review request for 8160441: [PIT][TEST_BUG][macosx] javax/swing/JComboBox/8041909/ActionListenerExceptionTest.java
Alexander Popov
ox38popugaev at yandex.ru
Wed Dec 7 12:57:49 UTC 2016
Hello,
review my changes please.
Webrev: http://cr.openjdk.java.net/~yan/8160441/webrev.00/
Issue: https://bugs.openjdk.java.net/browse/JDK-8160441
This is a test bug. On Aqua LaF JScrollPane has index 1. On Metal LaF it has index 0 inside JPopupPane.
So, I've decided to generalize finding correct index using do-while loop.
Tested on Mac OS X with different LaFs - Aqua, Nimbus, Metal. Works perfectly after fix.
I used jdk 9b144 (>b127 See JDK-8041909) for testing.
I will add 8160441 to @bug if it is needed.
--
Best regards,
Alexander.
More information about the swing-dev
mailing list