commit | ca970b623bf8740a2ec777c27a4e4971e7a92588 | [log] [tgz] |
---|---|---|
author | David Morgan Spencer Savage <dsavage@apache.org> | Tue Aug 03 07:37:56 2010 +0000 |
committer | David Morgan Spencer Savage <dsavage@apache.org> | Tue Aug 03 07:37:56 2010 +0000 |
tree | 2d3c4c85f3e79c4fdfdda565e1faadfb1a7d4ec1 | |
parent | 9856dd887945332580ba2c0ea86167b439107c9d [diff] |
fix toURL usage - avoid potential windows bug in future git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@981764 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/SigilResolver.java b/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/SigilResolver.java index 36cca28..6404ef9 100644 --- a/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/SigilResolver.java +++ b/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/SigilResolver.java
@@ -202,7 +202,7 @@ try { - URL url = (uri != null) ? uri.toURL() : bundle.getLocation().toURL(); + URL url = (uri != null) ? uri.toURL() : bundle.getLocation().toURI().toURL(); if (name.contains("!")) { String[] split = name.split("!");