Community
Participate
Working Groups
Hi, I am trying to run the following: context.installBundle(urlString); with urlString as: reference:file:/mnt/sda1/dims/ab%20cd/lib/equinox/org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100.jar and see this problem: Caused by: java.io.FileNotFoundException: /mnt/sda1/dims/ab%20cd/lib/equinox/org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100.jar at org.eclipse.osgi.framework.internal.protocol.reference.ReferenceURLConnection.connect(ReferenceURLConnection.java:46) at org.eclipse.osgi.framework.internal.protocol.reference.ReferenceURLConnection.getInputStream(ReferenceURLConnection.java:61) at org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:56) ... 17 more Looks like the connect method in ReferenceURLConnection.java just strips the "file:" and tries to use that as the file name. Should the code try to use say URLDecoder.decode to convert the "%20" back to a space? thanks, dims
*** This bug has been marked as a duplicate of bug 290193 ***