commit | 9b5f69fa2437029e8358ab3742f6786c878102c7 | [log] [tgz] |
---|---|---|
author | Daniel Fuchs <dfuchs@openjdk.org> | Mon Mar 02 14:46:10 2015 +0100 |
committer | Daniel Fuchs <dfuchs@openjdk.org> | Mon Mar 02 14:46:10 2015 +0100 |
tree | 2de1e2bd35507a1b0e5d43d2e0da53aa8ee62563 | |
parent | 6de0c1df26edfcb9a5ea151c8c7b73838c948952 [diff] |
8074032: Instant.ofEpochMilli(millis).toEpochMilli() can throw arithmetic overflow in toEpochMilli() Instant.toEpochMilli() now takes into account the sign of the 'seconds' field. Reviewed-by: rriggs, scolebourne