Skip to content

Commit d4dd845

Browse files
hansonrhansonr
authored andcommitted
updates System.exit(0) info
1 parent 644a8a9 commit d4dd845

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sources/net.sf.j2s.java.core/doc/Differences.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,9 @@ System.exit(0) does not stop all processes
507507
------------------------------------------
508508

509509
Although System.ext(int) has been implemented in JavaScript, it just closes the
510-
frames. It may not stop all "threads." So don't rely on that.
510+
frames, stops all pending javax.swing.Timer objects in the queue, and runs any
511+
threads added using Runtime.getRuntime().addShutdownHook(Thread).
512+
It may not stop all "threads." So don't rely on that.
511513
Applications are responsible for shutting down prior to executing System.exit(0).
512514

513515

0 commit comments

Comments
 (0)