RFR: 8283712 : Create a manual test framework class [v4]

Alexey Ivanov aivanov at openjdk.java.net
Tue Apr 5 21:01:45 UTC 2022


On Mon, 4 Apr 2022 18:59:39 GMT, Phil Race <prr at openjdk.org> wrote:

>> lawrence.andrews has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Dispose the Frame based in EDT
>
> test/jdk/java/awt/print/PrinterJob/PrintLatinCJKTest.java line 74:
> 
>> 72:             f.setLocationRelativeTo(null);
>> 73:             f.setVisible(true);
>> 74:         });
> 
> I don't see where/how this frame is disposed.

It isn't disposed of.

When run with jtreg, it disposed of by jtreg when it shuts down the VM because main thread existed. If it's run outside of jtreg, the frame remains open after clicking Pass (or Fail).

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

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



More information about the client-libs-dev mailing list