"adrian(a)jboss.org" wrote :
| Also, I don't know whether you saw my comment, but the way
| the vfsmemory handler is handling URL is brokens.
|
I just commited the following to the MemoryTestCase, and it passes:
| public void testUrlHandling()throws Exception
| {
| URL directory = new URL("vfsmemory://guid");
| URL classes = new URL(directory, "classes");
|
| URL classes2 = new URL(directory + "/classes");
|
| assertEquals(classes, classes2);
| assertTrue(classes.equals(classes2));
| }
|
Did you mean something else? This test looks "weird" :-)
"adrian(a)jboss.org" wrote :
| I think this is because you are doing your own manual parsing of the URL
| instead of using the api as its meant to be used?
|
Sorry, please elaborate a bit?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139064#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...