Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Custom class loader
Custom class loader [message #163981] Mon, 01 December 2003 09:58 Go to next message
Eclipse UserFriend
Originally posted by: jsvazic.mks.com

I'm hoping someone will be able to help me out here. I'm trying to add a
custom class loader to a plug-in using:

Thread.currentThread().setContextClassLoader();

but it seems to be failing. My class loader uses the return of
Thread.getContextClassLoader() as its parent, but I'm thinking that this may
not be correct. Can anyone help me out here? TIA.
Re: Custom class loader [message #164307 is a reply to message #163981] Mon, 01 December 2003 16:07 Go to previous message
Eclipse UserFriend
Originally posted by: dhavrda.motive.com

I think that would get you the classloader for eclipse. If you get the
classloader for a class in a plugin you would get the PluginClassLoader...I
think that is what you want to replace. It would be a bad idea to replace
the Thread one.


"John Svazic" <jsvazic@mks.com> wrote in message
news:bqfkpn$usb$1@eclipse.org...
> I'm hoping someone will be able to help me out here. I'm trying to add a
> custom class loader to a plug-in using:
>
> Thread.currentThread().setContextClassLoader();
>
> but it seems to be failing. My class loader uses the return of
> Thread.getContextClassLoader() as its parent, but I'm thinking that this
may
> not be correct. Can anyone help me out here? TIA.
>
>
Previous Topic:Does anyone know of an XML editor which works with M5
Next Topic:feature install handler questions (implementing, packaging, and debugging)
Goto Forum:
  


Current Time: Thu May 08 07:33:52 EDT 2025

Powered by FUDForum. Page generated in 0.10101 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top