[jboss-cvs] JBossAS SVN: r99531 - projects/jboss-osgi/projects/bundles/husky/trunk/src/main/java/org/jboss/osgi/testing/internal.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jan 18 03:44:26 EST 2010


Author: thomas.diesler at jboss.com
Date: 2010-01-18 03:44:26 -0500 (Mon, 18 Jan 2010)
New Revision: 99531

Modified:
   projects/jboss-osgi/projects/bundles/husky/trunk/src/main/java/org/jboss/osgi/testing/internal/RemoteBundle.java
Log:
In case of the 'bundle' and 'bundleentry' protocol, use a dummy URLStreamHandler

Modified: projects/jboss-osgi/projects/bundles/husky/trunk/src/main/java/org/jboss/osgi/testing/internal/RemoteBundle.java
===================================================================
--- projects/jboss-osgi/projects/bundles/husky/trunk/src/main/java/org/jboss/osgi/testing/internal/RemoteBundle.java	2010-01-18 08:42:36 UTC (rev 99530)
+++ projects/jboss-osgi/projects/bundles/husky/trunk/src/main/java/org/jboss/osgi/testing/internal/RemoteBundle.java	2010-01-18 08:44:26 UTC (rev 99531)
@@ -199,9 +199,9 @@
       }
       catch (MalformedURLException ex)
       {
-         // In case of the 'bundle' protocol, use a dummy URLStreamHandler
+         // In case of the 'bundle' and 'bundleentry' protocol, use a dummy URLStreamHandler
          // Access to remote content via the bundle URL is invalid anyway
-         if (sh == null && urlstr.startsWith("bundle:"))
+         if (sh == null && urlstr.startsWith("bundle"))
          {
             sh = new URLStreamHandler()
             {




More information about the jboss-cvs-commits mailing list