RFR: 8202836 : [macosx] test java/awt/Graphics/TextAAHintsTest.java fails [v2]

Alexey Ivanov aivanov at openjdk.java.net
Tue Feb 8 20:59:14 UTC 2022


On Mon, 7 Feb 2022 18:25:55 GMT, lawrence.andrews <duke at openjdk.java.net> wrote:

>> test/jdk/java/awt/Graphics/TextAAHintsTest.java line 231:
>> 
>>> 229:             }
>>> 230:         } finally {
>>> 231:             frame.dispose();
>> 
>> The frame should be disposed on the EDT.
>
> Added code to dispose frame with in EDT.

It is not necessary: the test uses `awt.Frame`, not `swing.JFrame`. All the UI is created directly on the main thread.

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

PR: https://git.openjdk.java.net/jdk/pull/7275



More information about the client-libs-dev mailing list