Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344850

Summary: Standard OSGi Framework launching should disable osgi.compatibility.bootdelegation
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: FrameworkAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dj.houghton, glyn.normington, jtulach, sanjeeb.sahoo
Version: 3.7Flags: dj.houghton: review+
Target Milestone: 3.7 RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch none

Description Thomas Watson CLA 2011-05-05 10:51:22 EDT
See http://www.eclipse.org/forums/index.php?t=rview&goto=668355#msg_668355

When using the org.osgi.framework.launch.FrameworkFactory to create new framework the equinox specific property osgi.compatibility.bootdelegation should default to false.
Comment 1 Thomas Watson CLA 2011-05-05 11:17:04 EDT
Created attachment 194841 [details]
patch

This patch sets osgi.compatibility.bootdelegation=false by default for the standard OSGi launcher.  It also sets osgi.support.multipleHosts=true by default.
Comment 2 Thomas Watson CLA 2011-05-05 11:37:52 EDT
DJ, please review.
Comment 3 Thomas Watson CLA 2011-05-05 14:48:25 EDT
Patch released.
Comment 4 Jaroslav Tulach CLA 2012-02-20 14:44:30 EST
Btw. this change is incompatible and caused P1 in NetBeans: http://netbeans.org/bugzilla/show_bug.cgi?id=208616
Comment 5 Thomas Watson CLA 2012-02-21 08:37:14 EST
(In reply to comment #4)
> Btw. this change is incompatible and caused P1 in NetBeans:
> http://netbeans.org/bugzilla/show_bug.cgi?id=208616

I'm curious if you run on other frameworks.  The change here was to make Equinox behave in accordance with the specification with respect to boot delegation when using the standard OSGi launching API (org.osgi.framework.launch).
Comment 6 Jaroslav Tulach CLA 2012-03-02 10:09:23 EST
We support Felix as well, but for the IDE we use Equinox in order to execute Mylyn. To do that we re-use some of Eclipse's OSGi JARs like com.craft.jsch, etc. The packaging of these JARs requires the compatibility mode (due to missing import of javax.auth, for example).