diff options
author | Thomas Watson | 2019-07-25 15:12:26 +0000 |
---|---|---|
committer | Thomas Watson | 2019-07-25 15:12:26 +0000 |
commit | 5af34cbde59d711f206e78233e8a21826b080cd0 (patch) | |
tree | f1367e5a9695c876a18af9a45c6b8ea141ec7385 /bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/SystemBundleActivator.java | |
parent | be45ac216a8a6ed7ff3ca24bf6639359717810a8 (diff) | |
download | rt.equinox.framework-5af34cbde59d711f206e78233e8a21826b080cd0.tar.gz rt.equinox.framework-5af34cbde59d711f206e78233e8a21826b080cd0.tar.xz rt.equinox.framework-5af34cbde59d711f206e78233e8a21826b080cd0.zip |
Bug 549406 - Stop publishing service.vender propertyY20190805-0900Y20190801-0900Y20190730-0135Y20190730-0055Y20190729-0900I20190806-1800I20190805-1800I20190804-1800I20190803-1800I20190802-1800I20190801-1800I20190801-0600I20190731-1800I20190730-1800I20190729-1800I20190728-1800I20190727-1800I20190726-1800I20190725-1800
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.java | 4 |
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)); } |