This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: confusion when CLASSPATH includes compiled class
Tom Tromey wrote:
"Per" == Per Bothner <per@bothner.com> writes:
Per> I think I understand what is going on, at least for interpreted classes.
[...]
Per> Does this analysis seem correct?
Yes. Thanks for looking at this.
A related issue:
From my reading of Sun's JavaDoc for java.lang.reflect.Field, I conclude
that the getXxx methods need to initialize the declaring class, if it
hasn't been. I don't see any code to do this.
Likewise for setXxx, and invoke on a Method instance.
--
--Per Bothner
per@bothner.com http://per.bothner.com/