This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
why do we generate class$ for native code?
- From: Per Bothner <per at bothner dot com>
- To: java at gcc dot gnu dot org
- Date: Wed, 10 Mar 2004 23:31:35 -0800
- Subject: why do we generate class$ for native code?
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/