This is the mail archive of the
mauve-discuss@sources.redhat.com
mailing list for the Mauve project.
Re: ClassTest on class.getClassLoader()
- To: sharon wu <lotus_june at yahoo dot com>
- Subject: Re: ClassTest on class.getClassLoader()
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Fri, 14 Jul 2000 15:42:53 -0700 (PDT)
- Cc: Tom Tromey <tromey at cygnus dot com>, mauve-discuss at sourceware dot cygnus dot com
- References: <20000714195723.18934.qmail@web5403.mail.yahoo.com>
sharon> Another thing I notice is that in test_getClassloader
sharon> //Class obj2 = Class.forName("ClassTest");
sharon> Class obj2 =
sharon> Class.forName("gnu.testlet.java.lang.Class.ClassTest");
sharon> I wonder if you need to put all package name here. For
sharon> me, I need to put all package name here even I set the
sharon> classpath. And in JLS, it claims that for
sharon> Class.forName(), you need put fully qualified name.
Sounds right to me.
I'm committing the change.
Tom