summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-04-06 05:24:51 (EDT)
committer pelder2006-04-06 05:24:51 (EDT)
commitbb4a13e362398d0e25b330d3b54f200fca8f16ba (patch)
tree5b971edc859276184616984b03a63335f35de60a
parent366bdf2d2c37bb1974619b0fc2172e4fc6524e3b (diff)
downloadorg.eclipse.jet-bb4a13e362398d0e25b330d3b54f200fca8f16ba.zip
org.eclipse.jet-bb4a13e362398d0e25b330d3b54f200fca8f16ba.tar.gz
org.eclipse.jet-bb4a13e362398d0e25b330d3b54f200fca8f16ba.tar.bz2
[135223] Use difference URL constructor to avoid accidental URL format errors.
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/model/TransformLoadContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/model/TransformLoadContext.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/model/TransformLoadContext.java
index 72c5a23..8be2216 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/model/TransformLoadContext.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/model/TransformLoadContext.java
@@ -36,7 +36,7 @@ public class TransformLoadContext implements ILoadContext
public TransformLoadContext(URL bundleURL) throws MalformedURLException
{
if(bundleURL.getFile().endsWith(".jar")) { //$NON-NLS-1$
- this.contextURL = new URL("jar:" + bundleURL.toExternalForm() + "!/"); //$NON-NLS-1$ //$NON-NLS-2$
+ this.contextURL = new URL("jar", null, bundleURL.toExternalForm() + "!/"); //$NON-NLS-1$//$NON-NLS-2$
} else {
this.contextURL = bundleURL;
}