Details
-
Type:
Defect
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
(def c (clojure.core.cache/seed (FIFOCache. {} nil 1) {:a 1 :b 2}))
(defmethod print-method clojure.lang.PersistentQueue [q, w]
(print-method '<- w)
(print-method (seq q) w)
(print-method '-< w))
(str c )
;=> "{:a 1, :b 2}, <-(:clojure.core.cache/free)-<"
(str (assoc c :c 3))
;=> "{:a 1, :c 3, :b 2}, <-(:c)-<"
The queue never gets the seed keys :a and :b and so they will never get expelled.
Fixed in 7be1589095b48b7158584897a6b08c93322c3607