Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2019-07-25 15:12:26 +0000
committerThomas Watson2019-07-25 15:12:26 +0000
commit5af34cbde59d711f206e78233e8a21826b080cd0 (patch)
treef1367e5a9695c876a18af9a45c6b8ea141ec7385 /bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/SystemBundleActivator.java
parentbe45ac216a8a6ed7ff3ca24bf6639359717810a8 (diff)
downloadrt.equinox.framework-5af34cbde59d711f206e78233e8a21826b080cd0.tar.gz
rt.equinox.framework-5af34cbde59d711f206e78233e8a21826b080cd0.tar.xz
rt.equinox.framework-5af34cbde59d711f206e78233e8a21826b080cd0.zip
This property required parsing and translating the system bundle manifest. That takes some time and isn't worth it just to have a service.vender property that provides little to no value. Change-Id: I18ae5aeabc204acd87d5c849521bc497160f01c9 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/SystemBundleActivator.java')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/SystemBundleActivator.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/SystemBundleActivator.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/SystemBundleActivator.java
index 9e9b97276..4cb0b3ca1 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/SystemBundleActivator.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/SystemBundleActivator.java
@@ -220,9 +220,7 @@ public class SystemBundleActivator implements BundleActivator {
private void register(BundleContext context, String serviceClass, Object service, boolean setRanking, Dictionary<String, Object> properties) {
if (properties == null)
- properties = new Hashtable<>(7);
- Dictionary<String, String> headers = context.getBundle().getHeaders();
- properties.put(Constants.SERVICE_VENDOR, headers.get(Constants.BUNDLE_VENDOR));
+ properties = new Hashtable<>();
if (setRanking) {
properties.put(Constants.SERVICE_RANKING, Integer.valueOf(Integer.MAX_VALUE));
}

Back to the top