This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When a simple app with just the main thread finishes the execution, the profiler agent should print message "Press any key to terminate" and terminate the VM if the user does so.
Update: The VM should terminate when all non-deamon threads finish their execution. This is specifically visible on simple "hello world" apps, since there is typically no explicite System.exit call and/or exit handling that AWT manages. The bug is caused by the fact that the profiler agent creates several non- deamon threads, that keep running even after all threads of the user app finish. Fixed in M9 by making all agent threads deamons, and leaving the exit handling up to the shutdown handler.
Verification of old issues.
Closing old issues.