I think we should fix the problem rather than add a hackity hack ;) In
reality you should not be able to tell the difference between using a
filesystem and libs in a jar.
On Tue, 23 Oct 2001 18:38, Paul Hammant wrote:
> 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]
--
Cheers,
Pete
------------------------------------
The two secrets to success:
1- Don't tell anyone everything.
------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]