Hi, On Sat, 2005-01-01 at 16:01 +0100, Ewout Prangsma wrote: > Now; currently the URL class uses the system classloader to load > protocol handlers. > Must this really be the system classloader? > > I have a protocol handler that is accessible via the context classloader > (Thread.currentThread().getContextClassLoader()), but not via the system > classloader. Is it possible to change this classloader arrangement so > that the current context classloader is used?
Yes. I implemented the current behavior in response to bug #9466 (http://savannah.gnu.org/bugs/?func=detailitem&item_id=9466) which is still open since we seem to agree that using the context classloader would be the more correct option (falling back to the system/application classloader when that fails). See the bug report for some more discussion about this issue. Cheers, Mark
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Classpath mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath

