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

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Feb 8 15:00:55 UTC 2016


Changeset: 3e5970acb0a7
Author:    ntv
Date:      2016-02-08 09:56 -0500
URL:       http://hg.openjdk.java.net/jdk9/sandbox/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-sandbox-changes mailing list