libgcj/38
Bryce McKinlay
bryce@albatross.co.nz
Fri Feb 25 00:50:00 GMT 2000
The following reply was made to PR libgcj/38; it has been noted by GNATS.
From: Bryce McKinlay <bryce@albatross.co.nz>
To: Tom Tromey <tromey@cygnus.com>
Cc: java-patches@sourceware.cygnus.com,
Java Gnats Server <java-gnats@sourceware.cygnus.com>
Subject: Re: libgcj/38
Date: Fri, 25 Feb 2000 21:41:08 +1300
Tom Tromey wrote:
> >>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
>
> Bryce> This is a new fix for an old bug. The problem is that certain
> Bryce> classes in java.text need to load resources via the URL class
> Bryce> loading mechanism. This mechanism itself uses those java.text
> Bryce> classes, and in some cases we get an
> Bryce> ExceptionInInitializerError due to intializer co-dependency.
>
> Bryce> + private void initializeDateFormats()
>
> Shouldn't this be synchronized?
> And shouldn't the body then check again for "locale == null"?
Well now that you point this out, it will have to synchronize around the
"locale == null" check in getHeaderDateField() too. Bummer.
regards
[ bryce ]
More information about the Java-prs
mailing list