Author: thomas.diesler(a)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()
{
Show replies by date