incorrect org.clojure/java.data convert java.util.Date use getter and setter

Description

in package org.clojure/java.data

(cjd/from-java (java.util.Date.)) will use setter and getter method of java.util.Date, which produce incorrect clojure object,

because java.util.Date is a basic class of java language, it's better keep "::do-not-convert".

so i add this class to ::do-not-convert classify.

Environment

None

Activity

Show:
Sean Corfield
October 13, 2019, 6:52 AM

from-java on a Date produces a hash map of its elements. to-java on that hash map produces a Date. That is the expected behavior. There is now a test to show that this works.

Support for java.time.Instant has also been added that round-trips the same way.

Declined

Assignee

Unassigned

Reporter

Anonymous

Labels

None

Approval

None

Patch

Code and Test

Priority

Major
Configure