View Single Post

   
  #8 (permalink)  
Old 04-15-2008, 11:59 PM
Vadim Nasardinov
 
Posts: n/a
Default context classloader (was: Re: 8.0 drivers released.)

On Tuesday 18 January 2005 17:17, Oliver Jowett wrote:
> I can reproduce the exception by running test code when the driver
> is loaded from the bootstrap classpath
> ('-Xbootclasspath/a:jars/postgresql.jar')
>
> It seems reasonable to fall back to the system classloader if the
> driver was loaded from the bootstrap classloader. I will commit a
> change to do this shortly.


Another reasonable course of action might be to try the context classloader:
http://java.sun.com/j2se/1.4.2/docs/...ssLoader%28%29

This would typically have the system classloader in its parent hierarchy,
but it may also give you access to locations that the system classloader
cannot see.

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Reply With Quote