clojure-clutch/clutch

does stable 0.3.1 work with Clojure 1.4.0?

Closed this issue · 1 comments

Re: dependency on clojure-contrib 1.2.0. Are you sure this will work with Clojure 1.4.0?

I have not found explicit information on contrib 1.2.0's compatibility with Clojure 1.4.0, but clutch uses contrib's http.agent which according to some stack traces I have loads a Java class called clojure.lang.ILookupHost which doesn't exist post Clojure 1.2.0.

I don't entirely understand the dependency chain http.agent -> ILookupHost but I can see that clojure-contrib-1.2.0.jar has references to ILookupHost compiled into it.

I have Clutch 0.3.1 in production with Clojure 1.3.0 without issues. I don't think I have anything public that uses 1.4.0 yet, so I can't say anything definitive about 0.3.1 working or not working with 1.4.0.

I'd suggest moving to the 0.4.0-SNAPSHOT that is out now, which eliminates the classic contrib dependency entirely, and works and is continually tested against 1.2.0, 1.3.0, and 1.4.0.