bug in static initialization
Per Bothner
per@bothner.com
Tue Sep 4 10:33:00 GMT 2001
Tom Tromey <tromey@redhat.com> writes:
> If I compile the appended program with `gcj -C' and then run it via
> gij, it prints `null'. This is clearly wrong. If I change
> `timestampFormat' to be `final', then it works correctly.
I probably broke this, and hopefullt fixed it with my September 1
"PATCH to maybe_yank_clinit". (I'll verify this after I re-build.) I
can check it in, but I'd prefer Alex to take a look first, as I don't
know the reasons for the old logic.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
More information about the Java
mailing list