On Mon, 4 Apr 2022 18:59:39 GMT, Phil Race <p...@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

Reply via email to