Java classloading is a _very_ delicate thing.
I wouldn't change anything if not necessary.
Since it now works (I think it works) I see no reason to change it.
It may as well be that it has no parent for some specific reason.

Also the Java spec for ClassLoader.getParent() says:
"...Returns the parent class loader for delegation. 
Some implementations may use null to represent the bootstrap class loader. 
This method will return null in such implementations if this class loader's 
parent 
is the bootstrap class loader."

This sounds like saying that even if a ClassLoader returns a null parent, 
it doesn't mean it has no parent, but it has the bootstrap loader has parent.

Bye
Paolo Rizzi


> -----Messaggio originale-----
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 
> conto di Paul
> Austin
> Inviato: venerdì 14 settembre 2007 18.03
> A: JUMP Developer
> Oggetto: [JPP-Devel] Extension class loader
> 
> 
> Right now the class loader used for loading extension classes does not
> have a parent class loader set see
> com.vividsolutions.jump.workbench.plugin.PlugInManager.
> 
> I think that it should have a parent and it be set to the class loader
> of the PlugInManager class (which is the system class path).
> 
> Can anyone see any issues with doing this?
> 
> Paul
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to