This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bug in static initialization


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]