[PATCH] LambdaTranslationTest[1|2] may fail when executed with other locale than US

2014-06-21 Thread Andrej Golovnin
Hi Joel, as I already wrote [1] the tests jdk/lambda/LambdaTranslationTest1.java jdk/lambda/LambdaTranslationTest2.java fails when they are executed with other locale than US. The tests make use of Locale sensitive APIs and assume that the current Locale has the same formatting rules as Locale.U

Re: RFR JDK-5077522 : Duration.compare incorrect for some values

2014-06-21 Thread Lance @ Oracle
Agree this is better and cleaner! Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 lance.ander...@oracle.com Sent from my iPad On Jun 21, 2014, at 4:27 AM, Daniel Fuchs wrote: > Thanks Joe! > > This is much cle

Re: RFR JDK-5077522 : Duration.compare incorrect for some values

2014-06-21 Thread Daniel Fuchs
Thanks Joe! This is much cleaner indeed :-) -- daniel On 6/21/14 4:36 AM, huizhe wang wrote: Thanks Daniel, Lance. On 6/20/2014 3:02 AM, Daniel Fuchs wrote: Hi Joe, Thanks for the detailed explanation. It really helps reviewing the fix! Glad to know it helps. I thought this part of spec c