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: confusion when CLASSPATH includes compiled class


Tom Tromey wrote:
"Per" == Per Bothner <per@bothner.com> writes:


Per>  From my reading of Sun's JavaDoc for java.lang.reflect.Field, I conclude
Per> that the getXxx methods need to initialize the declaring class, if it
Per> hasn't been.  I don't see any code to do this.

For Field, it is in natField.cc:getAddr().

Oops - I did look at getAddr, but missed the JvInitClass call. -- --Per Bothner per@bothner.com http://per.bothner.com/


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