hg: jdk9/dev/jdk: 8146747: java.time.Duration.toNanos() and toMillis() exception on negative durations

roger.riggs at oracle.com roger.riggs at oracle.com
Mon Feb 8 14:57:13 UTC 2016


Changeset: 3e5970acb0a7
Author:    ntv
Date:      2016-02-08 09:56 -0500
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/3e5970acb0a7

8146747: java.time.Duration.toNanos() and toMillis() exception on negative durations
Reviewed-by: rriggs, scolebourne

! src/java.base/share/classes/java/time/Duration.java
! test/java/time/tck/java/time/TCKDuration.java



More information about the jdk9-dev-changes mailing list