hg: jdk9/dev/jdk: 8066982: ZonedDateTime.parse() returns wrong ZoneOffset around DST fall transition

ivan.gerasimov at oracle.com ivan.gerasimov at oracle.com
Fri Dec 25 13:44:59 UTC 2015


Changeset: f371bdfb7875
Author:    igerasim
Date:      2015-12-25 16:43 +0300
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/f371bdfb7875

8066982: ZonedDateTime.parse() returns wrong ZoneOffset around DST fall transition
Summary: In Parsed.java the method resolveInstant() is altered such that, the offset (if present) will be given priority over zone.
Reviewed-by: rriggs, scolebourne
Contributed-by: ramanand.patil at oracle.com

! src/java.base/share/classes/java/time/format/DateTimeFormatter.java
! src/java.base/share/classes/java/time/format/Parsed.java
! test/java/time/tck/java/time/TCKZonedDateTime.java
+ test/java/time/tck/java/time/format/TCKDTFParsedInstant.java



More information about the jdk9-dev-changes mailing list