On Tue, 07 Jan 2003, Nicola Ken Barozzi <[EMAIL PROTECTED]> wrote:

> Errr, so it's a bug, right?

I think so.  At least the code should check for null.

> I'm confused, how can I know if a class can be loaded if I can't get
> a classloader?  8-?

If Class.getClassLoader is null, the classloader is the system
classloader, i.e. you'd use Class.forName.

IIRC the VMs I've encountered that could return null in
Class.getClassLoader have either been 1.1 VMs or written by IBM.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to