This is the mail archive of the java-patches@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]
Other format: [Raw text]

Re: [PATCH] Fix TimeZone.getDefaultDisplayName


Jakub Jelinek writes:
 > Hi!
 > 
 > getDefaultDisplayName from the pre-1.4 days was only calling
 > getDSTSavings on SimpleTimeZone.  But as TimeZone itself now defines
 > getDSTSavings(), we can call it always (which fixes a bug when
 > getDefaultDisplayName is used on gnu.java.util.ZoneInfo instance).
 > Ok to commit?
 > 
 > 2007-02-24  Jakub Jelinek  <jakub@redhat.com>
 > 
 > 	* java/util/TimeZone.java (getDefaultDisplayName): Don't
 > 	check if TimeZone is instanceof SimpleTimeZone.

OK.

Andrew.


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