>> Note that each JRE/JDK version has it's own version of the TZ database. 
> It
>> is also possible to update an installed JRE/JDK with the latest TZ database
>> info.
>> 
> 
> I don't expect a lot of users do this (tbh, I wasn't aware of this
> possibility myself...).


I also only learned that after reading about Time Zones for LANG-942. 
And starting in JDK 8 the tzdb.jar is being replaced by tzdb.dat, so 
I believe it will be different to update the TZ database in JDK.
 
Bruno P. Kinoshita
http://kinoshita.eti.br
http://tupilabs.com


----- Original Message -----
> From: Benedikt Ritter <brit...@apache.org>
> To: Commons Developers List <dev@commons.apache.org>
> Cc: 
> Sent: Wednesday, January 8, 2014 4:24 PM
> Subject: Re: [lang] Failing tests in lang/trunk due to time zone
> 
> 2014/1/8 Gary Gregory <garydgreg...@gmail.com>
> 
>>  Note that each JRE/JDK version has it's own version of the TZ database. 
> It
>>  is also possible to update an installed JRE/JDK with the latest TZ database
>>  info.
>> 
> 
> I don't expect a lot of users do this (tbh, I wasn't aware of this
> possibility myself...).
> 
> 
> 
>> 
>>  Gary
>> 
>> 
>>  On Wed, Jan 8, 2014 at 8:40 AM, Bruno P. Kinoshita <
>>  brunodepau...@yahoo.com.br> wrote:
>> 
>>  > Hi all,
>>  >
>>  > LANG-942 and LANG-943 were related to tests failing due to time zones.
>>  The
>>  > latter is related to a specific time zone (America/Sao_Paulo), and 
> only
>>  > happens in my environment because it is using the day that DST started 
> in
>>  > 2005.
>>  >
>>  > For the sake of curiosity, I set up a Jenkins job to build 
> commons-lang
>>  > from the trunk and `mvn clean test -e -X 
> -Duser.timezone=${timezone}` for
>>  > each given time zone (it is a multi config job with a user axis, 
> fwiw).
>>  >
>>  > The results can be seen here:
>>  >
>> 
> http://builds.tupilabs.com/view/Apache%20Software%20Foundation/job/commons-lang-timezone/
>>  >
>>  > There are many different errors, inclusive for time zones within 
> Brazil
>>  > that work (America/Maceio, while America/Sao_Paulo fails) and others 
> in
>>  > Asia, Australia, Mexico, etc).
>>  >
>>  > I think some tests can be rewritten to be time zone agnostic, or we 
> may
>>  > have some hidden bug too.
>>  >
>>  > Just food for thought :^) not a blocker for new releases I think. The 
> job
>>  > took quite some time to finish, but the URL is parameterized, so in 
> the
>>  > future I plan to run it against tags and for different JDK's too.
>>  >
>>  > Bruno P. Kinoshita
>>  > http://kinoshita.eti.br
>>  > http://tupilabs.com
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>  > For additional commands, e-mail: dev-h...@commons.apache.org
>>  >
>>  >
>> 
>> 
>>  --
>>  E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>>  Java Persistence with Hibernate, Second Edition<
>>  http://www.manning.com/bauer3/>
>>  JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>  Spring Batch in Action <http://www.manning.com/templier/>
>>  Blog: http://garygregory.wordpress.com
>>  Home: http://garygregory.com/
>>  Tweet! http://twitter.com/GaryGregory
>> 
> 
> 
> 
> -- 
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to