diff options
author | John Ross | 2012-10-05 15:08:22 +0000 |
---|---|---|
committer | Thomas Watson | 2012-10-17 20:41:30 +0000 |
commit | 2bfd4c08f3fb44d9aa62f08200666621c75f7fe9 (patch) | |
tree | 8bbf006eb48ff69e2f042cbeb4a54389c6cc16b0 /bundles/org.eclipse.osgi/osgi | |
parent | 91efe94cf72994141fc164ad9bf083bdafdc9212 (diff) | |
download | rt.equinox.framework-2bfd4c08f3fb44d9aa62f08200666621c75f7fe9.tar.gz rt.equinox.framework-2bfd4c08f3fb44d9aa62f08200666621c75f7fe9.tar.xz rt.equinox.framework-2bfd4c08f3fb44d9aa62f08200666621c75f7fe9.zip |
Bug 391275 - New system bundle ID constant.
Framework package now exported at version 1.8. This is necessary to allow the new framework to run against the CT.
Diffstat (limited to 'bundles/org.eclipse.osgi/osgi')
-rw-r--r-- | bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java index 6d07a4c3e..d31896e63 100644 --- a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java +++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java @@ -48,6 +48,14 @@ public interface Constants { String SYSTEM_BUNDLE_SYMBOLICNAME = "system.bundle"; /** + * Identifier of the OSGi <i>system bundle </i>, which is defined to be + * {@code 0}. + * + * @since 1.8 + */ + long SYSTEM_BUNDLE_ID = 0L; + + /** * Manifest header identifying the bundle's category. * <p> * The header value may be retrieved from the {@code Dictionary} object @@ -387,7 +395,8 @@ public interface Constants { * like: * * <pre> - * Bundle-SymbolicName: com.acme.module.test; fragment-attachment:="resolve-time" + * Bundle-SymbolicName: com.acme.module.test; + * fragment-attachment:="resolve-time" * </pre> * * @see #FRAGMENT_ATTACHMENT_DIRECTIVE @@ -543,7 +552,8 @@ public interface Constants { * like: * * <pre> - * Import-Package: org.osgi.framework; bundle-symbolic-name="com.acme.module.test" + * Import-Package: org.osgi.framework; + * bundle-symbolic-name="com.acme.module.test" * </pre> * * @see #IMPORT_PACKAGE |