libgcj/38
Bryce McKinlay
bryce@albatross.co.nz
Fri Feb 25 00:46:00 GMT 2000
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-patches
mailing list