Change how the extension manager url stream handler handles request to the root path in order to make some tomcat issue go away (FELIX-414).

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@590492 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/ExtensionManager.java b/framework/src/main/java/org/apache/felix/framework/ExtensionManager.java
index 709f2ae..c09725e 100644
--- a/framework/src/main/java/org/apache/felix/framework/ExtensionManager.java
+++ b/framework/src/main/java/org/apache/felix/framework/ExtensionManager.java
@@ -512,7 +512,13 @@
 
         if (path.trim().equals("/"))
         {
-            throw new IOException("Resource not provided by any extension!");
+            return new URLConnection(url) 
+            {
+                public void connect() throws IOException 
+                {
+                    throw new IOException("Resource not provided by any extension!");
+                }
+            };
         }
 
         for (Iterator iter = m_extensions.iterator(); iter.hasNext();)