commit | 4cfc74f4d4687333ee85876a0c81047deeec5fe3 | [log] [tgz] |
---|---|---|
author | apanchenk <apanchenk> | Wed Jun 24 06:56:44 2009 +0000 |
committer | apanchenk <apanchenk> | Wed Jun 24 06:56:44 2009 +0000 |
tree | d05cd7575e8dd0a62025a639324fb7544a5bd69f | |
parent | f8387e9f1e3691fd44df2cde85d84fc30b8ec53b [diff] |
use installLocation.getFullPath() as key for internal caching, since it should always exists
diff --git a/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/AbstractInterpreterInstallType.java b/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/AbstractInterpreterInstallType.java index bf108c1..b6e7e4c 100644 --- a/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/AbstractInterpreterInstallType.java +++ b/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/AbstractInterpreterInstallType.java
@@ -766,7 +766,7 @@ public static Object makeKey(IFileHandle installLocation, EnvironmentVariable[] variables) { - String key = installLocation.toURI().toString(); + String key = installLocation.getFullPath().toString(); if (variables != null) { for (int i = 0; i < variables.length; i++) { key += "|" + variables[i].getName() + ":" //$NON-NLS-1$ //$NON-NLS-2$