ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [GUMP] Build Failure - smoketest
Date Wed, 08 Jan 2003 07:48:13 GMT
On Tue, 07 Jan 2003, Nicola Ken Barozzi <> 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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message