This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: bug in static initialization
- To: tromey at redhat dot com
- Subject: Re: bug in static initialization
- From: Per Bothner <per at bothner dot com>
- Date: 04 Sep 2001 10:33:45 -0700
- Cc: Java Discuss List <java at gcc dot gnu dot org>
- References: <873d62q33l.fsf@creche.redhat.com>
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/