Community
Participate
Working Groups
Build Identifier: I20110613-1736 In working with Eclipse Indigo (Eclipse 3.7) I noticed a different behavior in processing the org.osgi.framework.system.packages.extra property. In the previous versions (3.4, 3.5 and 3.6) when the property is empty it is ignored. In 3.7 the property is processed which causes the Framework's Export-Package to look like this: "some.package, another.package, " The trailing "," and perhaps the trailing space causes the following exception: java.lang.RuntimeException: Exception while creating System Bundle: Invalid manifest header Export-Package: <export package list here> If I remove the empty org.osgi.framework.system.packages.extra key from my config.ini the Framework starts and all is well. Reproducible: Always Steps to Reproduce: 1. Place org.osgi.framework.system.packages.extra= in config.ini 2. Run the Framework 3. See the exception, Framework fails to start
Created attachment 199788 [details] Example Equinox log with "Invalid manifest header Export-Package"
Fix released to Juno: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=41646a93650c038167ac5f20fb15a4ae8d357341