Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10725

Re: System.exit

From Paul Cager <paul.cager@googlemail.com>
Newsgroups comp.lang.java.programmer
Subject Re: System.exit
Date 2011-12-14 02:09 -0800
Organization http://groups.google.com
Message-ID <89d3560a-1473-4ff8-832e-7733581224aa@j10g2000vbe.googlegroups.com> (permalink)
References <9d7fe75jrjv74ksjprrmdca7mp8hb0sflh@4ax.com>

Show all headers | View raw


On Dec 13, 6:48 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> The docs say System.exit terminates the current JVM.  But it seems
> that when you have other threads executing, they keep on going.

The only time I've seen that happen is with an older version of Java 6
where the NIO "select" system call was blocking. I never investigated
what caused the problem, and I assume it is fixed now.

Is there anything trying to run because of runFinalizersOnExit()?

Any SecurityManager that might be raising an exception when you call
System.exit()?

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

System.exit Roedy Green <see_website@mindprod.com.invalid> - 2011-12-13 10:48 -0800
  Re: System.exit Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-12-13 14:59 -0500
  Re: System.exit Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-12-13 21:48 +0000
    Re: System.exit Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-12-13 14:14 -0800
      Re: System.exit Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-12-14 00:01 +0000
        Re: System.exit markspace <-@.> - 2011-12-13 16:03 -0800
          Re: System.exit Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-12-14 00:13 +0000
    Re: System.exit Roedy Green <see_website@mindprod.com.invalid> - 2011-12-13 16:53 -0800
      Re: System.exit Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-12-13 20:02 -0500
        Re: System.exit Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-12-13 17:51 -0800
        Re: System.exit Roedy Green <see_website@mindprod.com.invalid> - 2011-12-14 09:38 -0800
  Re: System.exit Paul Cager <paul.cager@googlemail.com> - 2011-12-14 02:09 -0800

csiph-web