Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ross2012-10-05 15:08:22 +0000
committerThomas Watson2012-10-17 20:41:30 +0000
commit2bfd4c08f3fb44d9aa62f08200666621c75f7fe9 (patch)
tree8bbf006eb48ff69e2f042cbeb4a54389c6cc16b0 /bundles/org.eclipse.osgi/osgi/src/org
parent91efe94cf72994141fc164ad9bf083bdafdc9212 (diff)
downloadrt.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/src/org')
-rw-r--r--bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java14
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:=&quot;resolve-time&quot;
+ * Bundle-SymbolicName: com.acme.module.test;
+ * fragment-attachment:=&quot;resolve-time&quot;
* </pre>
*
* @see #FRAGMENT_ATTACHMENT_DIRECTIVE
@@ -543,7 +552,8 @@ public interface Constants {
* like:
*
* <pre>
- * Import-Package: org.osgi.framework; bundle-symbolic-name=&quot;com.acme.module.test&quot;
+ * Import-Package: org.osgi.framework;
+ * bundle-symbolic-name=&quot;com.acme.module.test&quot;
* </pre>
*
* @see #IMPORT_PACKAGE

Back to the top