Berin Loritsch wrote:

Stephen McConnell wrote:


Based on some problems occuring with URL handler registration (see recent comments from Richard Wallace on avalon-users) I've been looking at moving the URL handling in Merlin to use the sourceresolve package.

However - I'm having a few problems figuring out the overall logic.
I have put in palace a test case in the sourceresolve package (not working yet - but its a start on getting usage of this package documented).

Any help on this appreciated.

What about the

URLClassLoader( ClassLoader parent, URL[] paths, URLConnectionHandler handler );

constructor?

Wow, never noticed such a beast existed. This means that under the hoods, JDK URL handling depends on the calling class.

This may be a _very cool_ solution to make the source resolving machinery available to classes that aren't aware of it.

Sylvain

--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to