RFR: 8306137: Open source several AWT ScrollPane related tests [v10]

Tejesh R tr at openjdk.org
Mon May 22 13:12:03 UTC 2023


On Mon, 22 May 2023 11:10:05 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Updated based on review comments
>
> test/jdk/java/awt/ScrollPane/ScrollPaneRemoveAdd.java line 76:
> 
>> 74:             frame.pack();
>> 75:             frame.setLocationRelativeTo(null);
>> 76:             frame.setAlwaysOnTop(true);
> 
> I wonder why you decided to make the frame in this test always on top?

When I run the folder, due to previous test/command prompt the frame used to show up behind command prompt, so to be on safer side I used always on top. When we run individual test, it works fine.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13621#discussion_r1200496068



More information about the client-libs-dev mailing list