• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URL stream handler and context class loader

lucian chirita
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all

I'm wondering whether anyone has stumbled upos this case: I implemented an URL stream handler which gets registered by setting the system property. This URL handler would be used in an application having a class loader hierarchy (Tomcat in my case). As my class is not part of the system class loader, it will not be found by .

Is there any way to use a URL handler present on the context class loader? I can't use as Tomcat already registers some factory and there can be only one factory registered.

I see that GNU Classpath has considered using the context class loader (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22754 - posted bug) but I couldn't find anything from Sun regarding this.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic