This is the mail archive of the java-patches@sourceware.cygnus.com 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: libgcj/38


Bryce> Hmm... I don't think that is 100% safe in this case. ie:

You're right.

Bryce> But I understand what your getting at. The right solution is to
Bryce> use a boolean instead, which gets set after the dateFormal
Bryce> fields have all been set. Right?

Or set the locale field last in initializeDateFormats().  If you go
this route, be sure to comment it, as it is obscure.  Which one you
choose is up to you, though...

Tom

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