This content has been marked as final.
Show 3 replies
-
1. Re: Is entry order in manifest.mf/jboss-deployment-structure.xml considered during class loading?
ctomc Aug 19, 2014 8:46 AM (in response to vit.gorbunov)No there is no guarantee ordering of entries is honored.
-
2. Re: Is entry order in manifest.mf/jboss-deployment-structure.xml considered during class loading?
vit.gorbunov Aug 19, 2014 12:58 PM (in response to ctomc)Could you clarify - it's not guaranteed to be supported in future or it's not supported now? And was your answer relevant to all 3 my questions?
Note: I do consider it as a bug. Placing jar at the beginning of classpath to override some classes is not that unusual approach. Java supports it and if I'm not mistaken Java EE specification doesn't forbid it.
Can we define order programmatically? (even if it will require jboss source code patching)
-
3. Re: Is entry order in manifest.mf/jboss-deployment-structure.xml considered during class loading?
vit.gorbunov Aug 31, 2014 4:24 AM (in response to vit.gorbunov)After deep study of JBoss source code we discovered that order of <resource-root> entries from jboss-deployment-structure.xml <resources> tag entry is considered indeed. Not sure about Class-Path entry in manifest though.