This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: loadClass(String) vs loadClass(String, bool)
- From: "Jeroen Frijters" <jeroen at sumatra dot nl>
- To: "Andrew Haley" <aph at redhat dot com>,"Tom Tromey" <tromey at redhat dot com>
- Cc: <java at gcc dot gnu dot org>
- Date: Sun, 17 Apr 2005 13:48:06 +0200
- Subject: RE: loadClass(String) vs loadClass(String, bool)
Andrew Haley wrote:
> Tom Tromey writes:
> > One question is whether we should have resolveClass() do anything
> > at all. It is a lame part of the API and perhaps the leeway given
> > to the implementation in terms of linking could be stretched to
> > cover this.
>
> Maybe, but we'd risk breaking compatibility. All we can do is try to
> determine what others do -- and do te same thing!
On IKVM ClassLoader.resolveClass() is a no-op and based on experiments I
did when I was trying to understand class resolving I strongly suspect
that it's a no-op on the JDK too.
Regards,
Jeroen