-
1. Re: getResources in BaseClassLoader, ClassLoaderDomain, and
ttarhan Sep 16, 2009 11:53 PM (in response to ttarhan)Added to JIRA as well, although maybe this is premature?
https://jira.jboss.org/jira/browse/JBCL-118 -
2. Re: getResources in BaseClassLoader, ClassLoaderDomain, and
ttarhan Sep 17, 2009 1:52 AM (in response to ttarhan)I went ahead and posted a patch to the JIRA to handle item #1 listed above. I also posted a snapshot of jboss-classloader.jar which is built with the patch against tags/2.0.6.GA, thus making it a drop-in replacement for JBoss 5.1.0.GA.
-
3. Re: getResources in BaseClassLoader, ClassLoaderDomain, and
ttarhan Sep 18, 2009 3:34 AM (in response to ttarhan)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.