This content has been marked as final.
Show 3 replies
-
1. Re: Classloading question
alesj Jan 14, 2009 6:19 AM (in response to dmlloyd)Yes.
See VFSClassLoaderPolicyModule::determineCapabilities.
- http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/trunk/classloading-vfs/src/main/java/org/jboss/classloading/spi/vfs/dependency/VFSClassLoaderPolicyModule.java -
2. Re: Classloading question
dmlloyd Jan 14, 2009 2:51 PM (in response to dmlloyd)I see. One more dumb question whose answer I can't ascertain from the code: If I specify a version on the "classloading" element, is that version number inherited by default to all the nested capabilities (package and module)?
-
3. Re: Classloading question
alesj Jan 16, 2009 6:24 AM (in response to dmlloyd)"david.lloyd@jboss.com" wrote:
If I specify a version on the "classloading" element, is that version number inherited by default to all the nested capabilities (package and module)?
Looking at the code I doubt it.
As it's simple xml parsing and I don't see where we would explicitly override
the version if it was null with the one from parent classloading element.
Can you just try and let us know? :-)
If it's not there, it might be useful to add it.
But not for all capabilities - e.g. re-export or uses.
Here is the original discussion:
- http://www.jboss.com/index.html?module=bb&op=viewtopic&t=130122