<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 24, 2024 at 3:14 PM Kevin Rushforth <<a href="mailto:kevin.rushforth@oracle.com">kevin.rushforth@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> There are a number of ways to solve this, e.g.<br>
> * get rid of the separate shutdown procedure in the system tests.<br>
<br>
The utility was added to have a consistent way to shut down the <br>
platform, so it would seem a shame to remove it.<br>
<br>
> * set Platform.setImplicitExit(false) which will prevent tkExit being <br>
> called when the last window is gone<br>
<br>
I doubt we want to run most systems tests with setImplicitExit(false).<br></blockquote><div><br></div><div>I agree. In this case, however, it seems to me that `Util.shutdown` goes hand in hand with `setImplicitExit(false)`. The `shutdown` method is first hiding all windows, and then it explicitly invokes Platform.exit(). If implicitExit was set to true, the latter would be obsolete. If we want to make sure the shutdown method does what it is intended to do, we should guarantee that the platform is still running -- hence making sure that it doesn't exit when there are no windows anymore.</div><div>But I might be missing something...</div><div><br></div><div>- Johan</div></div></div>