summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clj/clojure/core_deftype.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/core_deftype.clj b/src/clj/clojure/core_deftype.clj
index 58a181c0..d6182193 100644
--- a/src/clj/clojure/core_deftype.clj
+++ b/src/clj/clojure/core_deftype.clj
@@ -204,7 +204,7 @@
(new ~tagname ~@(remove #{'__extmap} fields)
(not-empty (dissoc ~'__extmap ~'k))))))])
(ijavamap [[i m]]
- [(conj i 'java.util.Map)
+ [(conj i 'java.util.Map 'java.io.Serializable)
(conj m
`(size [~'this] (.count ~'this))
`(isEmpty [~'this] (= 0 (.count ~'this)))