Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Chandra2018-04-28 14:35:52 +0000
committerVikas Chandra2018-04-28 14:35:52 +0000
commit38d4166c3c9f8d81dcae58a4afd7a6ad9d54bcfa (patch)
tree6d17a31da5bc48fe496fddd779fecd406b94c078
parentc63808b30bb8715294455b986eee62202c132fc3 (diff)
downloadeclipse.pde.ui-38d4166c3c9f8d81dcae58a4afd7a6ad9d54bcfa.tar.gz
eclipse.pde.ui-38d4166c3c9f8d81dcae58a4afd7a6ad9d54bcfa.tar.xz
eclipse.pde.ui-38d4166c3c9f8d81dcae58a4afd7a6ad9d54bcfa.zip
Bug 533052 - Investigate how PDE would retrieve Execution Environment'sI20180428-2020I20180428-1500
system packages in Java 10 and beyond Change-Id: I8a81ce920e63f071255aa9e8b437437f1d735e9a Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
-rw-r--r--apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/ApiBaseline.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/ApiBaseline.java b/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/ApiBaseline.java
index 96c63d25a6..888d1c25d9 100644
--- a/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/ApiBaseline.java
+++ b/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/ApiBaseline.java
@@ -234,11 +234,11 @@ public class ApiBaseline extends ApiElement implements IApiBaseline, IVMInstallC
}
private static Properties getJavaProfilePropertiesForVMPackage(String ee) {
- Bundle osgiBundle = Platform.getBundle("org.eclipse.pde.api.tools"); //$NON-NLS-1$
- if (osgiBundle == null) {
+ Bundle apitoolsBundle = Platform.getBundle("org.eclipse.pde.api.tools"); //$NON-NLS-1$
+ if (apitoolsBundle == null) {
return null;
}
- URL systemPackageProfile = osgiBundle.getEntry("system_packages" + File.separator + ee.replace('/', '_') + "-systempackages.profile"); //$NON-NLS-1$ //$NON-NLS-2$
+ URL systemPackageProfile = apitoolsBundle.getEntry("system_packages" + '/' + ee.replace('/', '_') + "-systempackages.profile"); //$NON-NLS-1$ //$NON-NLS-2$
if (systemPackageProfile != null) {
return getPropertiesFromURL(systemPackageProfile);

Back to the top