Community
Participate
Working Groups
Build Identifier: org.eclipse.osgi 3.5.1.v20090827 1.I use BundleContext.installBundle("reference:file:/d:/a%20b/test.tmp"), but got an error Caused by: java.io.FileNotFoundException: C:\Documents%20and%20Settings\myDir\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-fileutils3448848740305009830.tmpfile 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) If i change reference:file:/d:/a%20b/test.tmp to reference:file:/d:/a b/test.tmp, all works. I tested it on felix, but no problem like this. So open a bug for this. Reproducible: Always Steps to Reproduce: 1.I use BundleContext.installBundle("reference:file:/d:/a%20b/test.tmp"), but got an error Caused by: java.io.FileNotFoundException: C:\Documents%20and%20Settings\myDir\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-fileutils3448848740305009830.tmpfile 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) 2.If i change reference:file:/d:/a%20b/test.tmp to reference:file:/d:/a b/test.tmp, all works. 3.I tested it on Felix, another osgi framework implementation, but no problem like this. So open a bug for this.
This has been fixed in 3.6.0 *** This bug has been marked as a duplicate of bug 290193 ***