+1

(I personally never add test bug numbers: it is in commit message anyway)

-yan

On 12/07/2016 03:57 PM, Alexander Popov wrote:
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.


Reply via email to