Commit 2485f0b2 authored by Tobias Thierer's avatar Tobias Thierer
Browse files

Update java.util.Date to OpenJDK8u60

Added two missing Android-changed comments.
Added upstream logic for converting to/from Instant
Added tests for conversion to/from Instant.

The minimum millisecond time (just under a second after
new Date(Long.MIN_VALUE)) that can be converted from
Instant to Date without encountering ArithmeticException
is not clearly documented. A test now ensures that this
boundary value remains consistent; no attempt was made
to change or explain the current boundary value.

Test: CtsLibcoreTestCases
Bug: 29935305

Change-Id: I79aff68ace5157cd3db5b1304651d07999d66796
parent 962bedec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment