PATCH to maybe_yank_clinit

Alexandre Petit-Bianco apbianco@cygnus.com
Tue Sep 4 13:58:00 GMT 2001


Per Bothner writes:

> After my most recent checkins, some tests fail because <clinit> was
> elided.

Eluding <clinit> worked in the past for the String type because the
field was given a constant value and hence initialized properly by the
VM.

> Do can you think of a problem with my patch?

No, I think it correctly takes into account the fact that <clinit>
should be kept in this case now.

It also fixes Tom's problem and tests OK, I think this patch is good
to go.

Thanks,

./A



More information about the Java-patches mailing list