confusion when CLASSPATH includes compiled class

Per Bothner per@bothner.com
Wed Mar 23 20:54:00 GMT 2005


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/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /