loadClass(String) vs loadClass(String, bool)

Jeroen Frijters jeroen@sumatra.nl
Sun Apr 17 11:48:00 GMT 2005


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



More information about the Java mailing list