This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]