I get a failing VFS test - FileVFSUnitTestCase.testVFSFileURIFactory.
| java.io.IOException: No context factory for
vfsfile:/C:/projects/jboss-vfs/target/test-classes/
| at org.jboss.virtual.VFS.getVFS(VFS.java:85)
| at
org.jboss.test.virtual.test.FileVFSUnitTestCase.testVFSFileURIFactory(FileVFSUnitTestCase.java:104)
| at
org.jboss.test.virtual.test.FileVFSUnitTestCase.testVFSFileURIFactory(FileVFSUnitTestCase.java:104)
There was this in VirtualFile:
| public URL toURL() throws MalformedURLException, URISyntaxException
| {
| return getHandler().toVfsUrl();
| }
|
I guess it needs to be changed to:
| public URL toURL() throws MalformedURLException, URISyntaxException
| {
| return getHandler().toURL();
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101528#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...