[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Deployment ClassPath and AOP

kabir.khan@jboss.com do-not-reply at jboss.com
Wed Mar 26 13:55:41 EDT 2008


"adrian at 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 at 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#4139064

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139064



More information about the jboss-dev-forums mailing list