why do we generate class$ for native code?

Per Bothner per@bothner.com
Thu Mar 11 07:31:00 GMT 2004


The function build_incomplete_class_ref in parse.y
has this comment:
 /* Generate the synthetic static method `class$'. (Previously we
 deferred this, causing different method tables to be emitted
 for native code and bytecode.) */
I'd like to understand why this is important. Perhaps we should
revisit this, given that JDK 1.5 will not generate class$ helpers.
-- 
	--Per Bothner
per@bothner.com http://per.bothner.com/


More information about the Java mailing list

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