This content has been marked as final.
Show 4 replies
-
1. Re: problem with xml parser
dex Jan 22, 2004 8:07 PM (in response to dex)"dex" wrote:
"dex" wrote:
i fix problem with patch in Loader
//// patch
|| name.startsWith("com.altova.")|| name.startsWith("org.apache.")
|| name.startsWith("org.w3c.")|| name.startsWith("org.xml.")
//// patch -
2. Re: problem with xml parser
ksclarke Oct 17, 2004 1:40 AM (in response to dex)I had this same problem and came to the same conclusion. Is there a reason why org.xml. is not passed to the parent classloader like the rest of the jre classes?
"dex" wrote:
"dex" wrote:
"dex" wrote:
i fix problem with patch in Loader
//// patch
|| name.startsWith("com.altova.")|| name.startsWith("org.apache.")
|| name.startsWith("org.w3c.")|| name.startsWith("org.xml.")
//// patch -
3. Re: problem with xml parser
chiba Oct 21, 2004 11:21 AM (in response to dex)Due to some dark side of Java class loaders,
several classes must be loaded by the same
class loader as other jre classes.
If you're interesting, please read Section 3.2
in the Javassist tutorial. -
4. Re: problem with xml parser
chiba Oct 21, 2004 11:25 AM (in response to dex)And you do not have to modify Loader class.
Please call Loader#delegateLoadingOf()
instead of using the patch code above.