Fork me on GitHub

(type (int 10)) returns java.lang.Integer. How do i create a primitive int in clojure?


sorry.. i guess i am in the wrong room..


core.cache 0.7.0 is on Maven Central, core.memoize 0.7.0 is in the pipeline, formal announcements will follow on the mailing list etc


Realized this morning that 0.7.0 has a buggy version of seed for TTL caches. Will get 0.7.1 of both libs out today to fix that.


has anyone here tried to build the Clojure compiler with Java 10? I’m getting this error:

[java] ERROR in (test-proxy-non-serializable) (
     [java] That proxy classes refuse serialization and deserialization
     [java] expected: (thrown? (-> serialized-proxy (.getBytes "ISO-8859-1") .readObject))
     [java]   actual: javax.swing.event.EventListenerList; local class incompatible: stream classdesc serialVersionUID = -5677132037850737084, local class serialVersionUID = -7977902244297240866
     [java]  at (
     [java] (
     [java] (
     [java] (


is there any idea to submit java 10 related jira issues, since it’s still early access?

Alex Miller (Clojure team)22:03:43

it’s always ok to submit issues :)

Alex Miller (Clojure team)22:03:59

this is a relatively new test for the “gadget” someone discovered as a serializability security hole

Alex Miller (Clojure team)22:03:50

I wonder if he added a serialized object which is now invalid due to a serialVersionUID change

Alex Miller (Clojure team)22:03:14

what I’m badly trying to suggest is that the test is buggy/fragile here

Alex Miller (Clojure team)22:03:03

oh yeah, he encoded it into the test

Alex Miller (Clojure team)22:03:21

so yeah, bad test, please file


righto 👍


btw, can I check somehow if I’ve filed the CLA?


(links through to the complete list of known CLA signers)


thank you 🙂

Alex Miller (Clojure team)22:03:22

that list is updated in batch every 1-2 weeks so it lags

Alex Miller (Clojure team)22:03:33

but I can look up latest if needed