Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/bundles/org.eclipse.ecf.identity/META-INF/MANIFEST.MF3
-rw-r--r--framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/PlatformHelper.java5
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/bundles/org.eclipse.ecf.identity/META-INF/MANIFEST.MF b/framework/bundles/org.eclipse.ecf.identity/META-INF/MANIFEST.MF
index abb18091f..5d5593285 100644
--- a/framework/bundles/org.eclipse.ecf.identity/META-INF/MANIFEST.MF
+++ b/framework/bundles/org.eclipse.ecf.identity/META-INF/MANIFEST.MF
@@ -12,7 +12,8 @@ Export-Package: org.eclipse.ecf.core.identity,
org.eclipse.ecf.internal.core.identity;x-internal:=true
Bundle-RequiredExecutionEnvironment: J2SE-1.3,
CDC-1.0/Foundation-1.0
-Import-Package: org.eclipse.osgi.service.debug;version="1.0.0",
+Import-Package: org.eclipse.core.runtime,
+ org.eclipse.osgi.service.debug;version="1.0.0",
org.eclipse.osgi.util;version="1.0.0",
org.osgi.framework;version="1.3.0",
org.osgi.service.log;version="1.3.0",
diff --git a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/PlatformHelper.java b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/PlatformHelper.java
index 7a7a3e207..69d854a59 100644
--- a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/PlatformHelper.java
+++ b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/PlatformHelper.java
@@ -36,9 +36,8 @@ public class PlatformHelper {
static {
try {
- platformClass = Class.forName(
- "org.eclipse.core.runtime.Platform"); //$NON-NLS-1$
- } catch (ClassNotFoundException e) {
+ platformClass = Class.forName("org.eclipse.core.runtime.Platform"); //$NON-NLS-1$
+ } catch (Exception e) {
// Platform not available...just leave platformClass == null
}
}

Back to the top