On Tue, 27 May 2025 19:00:18 GMT, Phil Race <p...@openjdk.org> wrote:

> Do you mean show that calling loop() doesn't prevent exit ? I can just add a 
> call to loop() at the end of the test. If it doesn't terminate the test will 
> fail with a timeout.

jtreg terminates all threads and the test vm after the main method completes, 
so I believe the updated test would pass even before this change (when a 
non-daemon thread was used).

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

PR Comment: https://git.openjdk.org/jdk/pull/24991#issuecomment-2914318955

Reply via email to