[jboss-dev-forums] [JBoss AS Development] - Re: getResources in BaseClassLoader, ClassLoaderDomain, and

ttarhan do-not-reply at jboss.com
Fri Sep 18 03:34:33 EDT 2009


As suggested by Adrian in JBCL-117, a better fix is to modify org.jboss.virtual.protocol.vfsmemory.Handler to override the DNS-resolving behavior of hashCode() and equals(). I've attached a patch to the JIRA which does this by overriding getHostAddress(URL) inside org.jboss.virtual.protocol.vfsmemory.Handler to always return null. This is also semantically correct, since vfsmemory "hosts" are not real hosts at all.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255859#4255859

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



More information about the jboss-dev-forums mailing list