DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17030>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17030

URIResolver class not found with JDK 1.4.1

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable



------- Additional Comments From [EMAIL PROTECTED]  2003-02-17 21:53 -------
Ok, I've verified the problem, and I've also found that I can fix it, either by
setting the classloader like this:

ClassLoader cl = Thread.getCurrentThread().getContextClassLoader();

or, like this:

ClassLoader cl = ClassLoader.getSystemClassLoader();

The first option is not available in JDk1.1.8, so the second one is 
preferable.  The system classloader is typically the classloader used to start 
the application and the classloader that gets set as the context classloader of 
the invoking thread (according to Sun's API Doc's.)

I've tested that this works in both JDK1.3.1 and JDK1.4.1, but I'm still 
learning about this stuff, so any feedback would be appreciated.  I'll attach 
the patch.

Reply via email to