java.time.Instant support housekeeping

This commit is contained in:
Peter Taoussanis 2020-10-24 16:53:02 +02:00
parent 32e4c13ca2
commit a98b0d8bb1
2 changed files with 4 additions and 3 deletions

View file

@ -10,7 +10,7 @@
#### New since `v3.0.0`
* [#128 #135] Added native `freeze/thaw` support for `java.time.Instant` on JVM 8+ (@cnuernber).
* [#135 #128] Added native `freeze/thaw` support for `java.time.Instant` on JVM 8+ (@cnuernber).
## v3.0.0 / 2020 Sep 20

View file

@ -1678,8 +1678,9 @@
(enc/compile-if java.time.Instant
(java.time.Instant/ofEpochSecond (.readLong in) (.readInt in))
{:nippy/unthawable
{:type :time-instant
:cause :needs-jvm8+
{:type :class
:cause :class-not-found
:class-name "java.time.Instant"
:content {:epoch-second (.readLong in) :nano (.readInt in)}}})