Community
Participate
Eclipse IDE
A bundle has the following Eclipse-AutoStart header: Eclipse-AutoStart: true; exceptions="org.eclipse.foo" While shutting down the framework the bundles are stopped. If a class from org.eclipse.foo package is loaded after the bundle has stopped then a CNFE is thrown because we do not restart bundles once the framework starts shutting down. The code should check to see if the package is really an autostart package before checking to see if the bundle has be stopped from shutting down the framework. This becomes important if a bundle has code which is used for a VM shutdown hook. This code should be included in an exceptions package to prevent the bundle from auto-starting when a class is loaded from that package.
A fix has been released to HEAD. Should consider a fix for 3.1.1. I will attach a patch for the maintenance branch.
Created attachment 26260 [details] Proposed fix for 3.1.1
Pascal, please review patch for 3.1.1. Thanks.
Patch reviewed. Good to go.
Fixed in maintenance branch.