Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344850 - Standard OSGi Framework launching should disable osgi.compatibility.bootdelegation
Summary: Standard OSGi Framework launching should disable osgi.compatibility.bootdeleg...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.7 RC1   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 10:51 EDT by Thomas Watson CLA
Modified: 2012-03-02 10:09 EST (History)
4 users (show)

See Also:
dj.houghton: review+


Attachments
patch (1.55 KB, patch)
2011-05-05 11:17 EDT, Thomas Watson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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).