RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main

Alexander Zvegintsev azvegint at openjdk.org
Tue Mar 12 20:09:25 UTC 2024


On Tue, 12 Mar 2024 19:28:45 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> The test is converted to main.
> Tested on Linux, Macos and Windows.

test/jdk/java/awt/regtesthelpers/PassFailJFrame.java line 1338:

> 1336:             if (panelCreator != null) {
> 1337:                 if (splitUI && (testWindows != null || windowListCreator != null)) {
> 1338:                     // TODO Is it required? We can support both

@aivanov-jdk please note, I am going to remove this check, it looks artificial to me.

In this test I added a JTextArea to display logs and messages. 
It looks like we could add similar functionality to PassFailJFrame (outside the scope of this issue, of course).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18250#discussion_r1522022355


More information about the client-libs-dev mailing list