<AWT Dev> [9] Review request for 8055664: move 14 tests about setLocationRelativeTo to jdk

Yuri Nesterenko yuri.nesterenko at oracle.com
Wed Aug 20 12:09:21 UTC 2014

Hi team,

please review this test update in jdk9:


( https://bugs.openjdk.java.net/browse/JDK-8055664 )

There's a single test made out of 14 old internal functional tests.
Existing tests do verify that a Frame (Dialog, JFrame etc.
toplevel) if setLocationRelativeTo(Component) do it right.

As the number of components * toplevels is rather big,
the test picks randomly just few of them from the lists.
If by chance there will be failure, simple option would
allow to run all combinations.
Also, if we'll have a "switch" controlling this selection
behavior, we'll use it here.


More information about the awt-dev mailing list