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("!");