venantius / ultra

A Leiningen plugin for a superior development environment
Eclipse Public License 1.0
1.24k stars 35 forks source link

Broken on JDK11 #98

Closed oubiwann closed 5 years ago

oubiwann commented 5 years ago

Excerpt from stacktrace:

clojure.lang.Compiler$CompilerException: 
  java.lang.IllegalArgumentException: 
    Must hint overloaded method: toArray, compiling:(clojure/core/rrb_vector/rrbt.clj:282:1)

This is a known issue, tracked here:

That ticket provides a work-around: override the dep with a fixed release, [org.clojure/core.rrb-vector "0.0.13"].

ultra implicitly depends upon this library:

 [venantius/ultra "0.5.2"]
   [grimradical/clj-semver "0.3.0" :exclusions [[org.clojure/clojure]]]
   [io.aviso/pretty "0.1.30"]
   [mvxcvi/puget "1.0.1"]
     [fipp "0.6.6"]
       [org.clojure/core.rrb-vector "0.0.11"]

but it includes the broken (on JDK111) version.

However, (possibly related to this lein issue?) even if I exclude the dep in the profile and add the fixed version to :dependencies. It looks like this has been fixed in fipp 0.6.13:

which has also been included in the puget 1.1.0 release.

I'll submit a PR that includes this update.