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.
1) install latest IDE - netbeans-trunk-nightly-201211260002-javase-linux.sh 2) open Plugins|Installed 3) Select Database and invoke Deactivate 4) Choose Restart Now => IDE closes but will not start again
Note: Import options then Restart Now works correctly
Retested on Windows. It behaves exactly the same like on Linux. When deactivating plugin, it doesn't restart but when importing settings or updating the restart works properly.
Caused by impl. issue 221034 Calling "LifecycleManager.getDefault().exit();" doesn't terminate a method thus the execution continues. It means for the AU code that a fallback code for the case of unsuccessful exit is executed regardless how the exit ends.
The current behaviour breaks what API-users expected according to the Javadoc -http://bits.netbeans.org/dev/javadoc/org-openide-util/org/openide/LifecycleManager.html#exit() Jardo, what do you think about this?
Jardo, what do you think about this?
ergonomics#130fd3437a74
Integrated into 'main-golden', will be available in build *201211300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/130fd3437a74 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #222746: Test to verify call to LifecycleManager.exit() does not return until System.exit is called. Six incarnations of the test per each implementation of LifecycleManager and for a call outside and from EDT. Simplifying the shutdown sequence by eliminating the addShutdownHook when running in normal IDE mode.