On my system, the attached testcase (actually the same testcase as used for bug 19839) randomly fails to terminate despite the calls to System.exit() at the end of the main() method.
This occurs approximately on every tenth invocation of the program on my system. I suspect some thread-issue related to the high repaint()-load created by the program. (Linux 2.4.20, SuSE 8.2, gcc-4.0-20050130 snapshot) -- Summary: AWT program ignores System.exit() Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: AWT AssignedTo: fitzsim at redhat dot com ReportedBy: hendrich at informatik dot uni-hamburg dot de CC: fitzsim at redhat dot com,gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19843