Created attachment 124056 [details]
patch to Netigso.java
With the current Netigso module, it is impossible to expose any system packages to the Felix OSGi runtime. Usually you pass these parameters via config file or system property (org.osgi.framework.system.packages.extra). This patch adds the same logic the Felix launcher includes, which reads the system properties prior to constructing a new framework instance. This patch also lets the application tone down the Felix log level, which was hard-coded to 'debug'. For me, this bug/enhancement is a showstopper re: being able to use the RCP framework, as a couple of my third party libraries require sun.misc and thus won't load.
We discussed this issue already at
The last suggestion was to report a patch, so thanks for that. Have you signed CA?
I have not signed the CA. Happy to do so, or someone else can roll the patch in. I made it off the trunk, but I didn't see major differences between the 72 release.
Please sign it and reopen. I cannot accept your patch until I see you on list of approved contributors.
Signed and submitted today. Will reopen once I see it processed and in the list.
(In reply to comment #3)
> Please sign it and reopen. I cannot accept your patch until I see you on list
> of approved contributors.
Accepted this morning. Good to go.
Integrated into 'main-golden', will be available in build *201209210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jaroslav Tulach <firstname.lastname@example.org>
Log: #218022: Patch for Netigso - Read System Properties, Allow org.osgi.framework.system.packages.extra
Use some system properties when initializing Felix container