mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
db7a5b3653
* [LF] make Timestamp parsing consistent between Java 11 and Java 17 Between Java 11 and Java 17 there is one bug fix on Instant.parse that expands the range of values that can be parsed into an Instant. See https://bugs.openjdk.org/browse/JDK-8166138 Daml-LF happened to uses Instant.parse to parse a string into a Daml-LF timestamp and we observe a different behavior when running Daml on Java 11 and Java 17 additionally make explicit that conversion form java Instant and string may drop nanoseconds, i.e. we create a lenient version that may drop the significant nanoseconds (legacy or) and a strict version that reject instant/string that cannot be converted without loss of precision. |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel |