The testULRClassloading and testURLClassLoader work with the proper classpath for the no copy case. When adding tests for ?useNoCopyJarHandler=true, its failing with java.lang.IllegalArgumentException: URI has a query component. I did not realize a file uri cannot have a query component. I don't understand why. I guess that will have to be handled by FileSystemContext. I'm still using the vfs version linked to trunk, so I'm not sure if you fixed this Ales.

"scott.stark@jboss.org" wrote:The testULRClassloading and testURLClassLoader work with the proper classpath for the no copy case. When adding tests for ?useNoCopyJarHandler=true, its failing with java.lang.IllegalArgumentException: URI has a query component.

"scott.stark@jboss.org" wrote:The testULRClassloading and testURLClassLoader work with the proper classpath for the no copy case. When adding tests for ?useNoCopyJarHandler=true, its failing with java.lang.IllegalArgumentException: URI has a query component.

Where do I find all these tests?

OK, couldn't find my own test. :-) For some reason my svn update was silently failing, not being able to update the SeamVFSClassloadingTestCase, since it already existed, but wasn't added to svn.

"scott.stark@jboss.org" wrote:I'm still using the vfs version linked to trunk, so I'm not sure if you fixed this Ales.

Fixed what?I didn't do any release if that's what you mean, since I was waiting for this CL tests + some sort of caching.

Fixed the code that is calling new File(URI) when URI contains a query. For whatever reason this File ctor will not accept such a URI even though its valid. We need to strip off any query, fragment and authentication for the URI to be accepted.

I checked in a fix for the IllegalStateException and using the resulting vfs snapshot does show all of the SeamVFSClassloadingTestCase tests are working. Need to debug the classpath seen by the ULR associated with the deployment. I'm looking at it.