Folks,

I am fairly sure that we need to add the following to BlockContext.

    URLStreamHandlerFactory getDefaultURLStreamHandlerFactory();

Reason? Phoenix apps that host sub apps in separate classloaders fail to traverse the parent classloader tree correctly.
I would just add it, but Phoenix is an area of minor activity for me, and major for others.


Regards,

- Paul H



I think it should be :

public class JesktopURLClassLoader extends URLClassLoader {
protected JesktopURLClassLoader(final URL[] urls) {
super(urls, JesktopURLClassLoader.class.getClassLoader(), Phoenix.getURLStreamHandlerFactory());
}
}


I can confirm that that fixes the bug I have. I had to add...

   URLStreamHandlerFactory getDefaultURLStreamHandlerFactory();

.. to BlockContext to get it working. I have not comitted any changes, because I think this needs discussion.

Regards,

- Paul H


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







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



Reply via email to