Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: How do I terminate a JVM properly? Date: Wed, 24 Aug 2016 18:19:34 -0400 Organization: A noiseless patient Spider Lines: 23 Message-ID: References: <10fc56da-c03f-41a7-93b8-c7eeb6d24279@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 24 Aug 2016 22:19:40 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="2d081e2f7155c28005d4472f67c2f43d"; logging-data="12746"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185eAZucA34rO++3pJ3jpEs" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: Cancel-Lock: sha1:gVcmAE/tWtpO3Tn8R13LXOh+nZg= Xref: csiph.com comp.lang.java.programmer:35443 On 8/24/2016 5:50 PM, Stefan Ram wrote: > Eric Douglas writes: >> Appears to be a bug in the JRE? I tried the simplest >> program, with all GUI windows disposed, JVM still did not >> close itself. > > Works here. > > public final class Main extends javafx.application.Application >[...] Note that the stack traces shown in the original message have no mentions of anything in a javafx package. They do, however, show various javax.swing packages -- and classes, including JComponent and SwingUtilities. My guess is that he's using Swing, and that examples based on JavaFX may be less than completely relevant. ... but it'd be nice not to need to guess, so I hope he'll show us the source of his "simplest program." -- esosman@comcast-dot-net.invalid The Tooth Fairy has gone high-tech, now pays in Bitecoin.