Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hashp doesn't work with JDK 11 by default #3

Closed
jumarko opened this issue Dec 16, 2019 · 0 comments
Closed

hashp doesn't work with JDK 11 by default #3

jumarko opened this issue Dec 16, 2019 · 0 comments

Comments

@jumarko
Copy link

jumarko commented Dec 16, 2019

When running in my project I get this error:

Syntax error (IllegalArgumentException) compiling deftype* at (clojure/core/rrb_vector/rrbt.clj:282:1).
Must hint overloaded method: toArray

The obsolete dependency is coming from here: [hashp "0.1.0"] -> [mvxcvi/puget "1.2.0"] -> [fipp "0.6.21"] -> [org.clojure/core.rrb-vector "0.1.0"]

This has been fixed in later rrb-vector releases, see https://www.deps.co/blog/how-to-upgrade-clojure-projects-to-use-java-11#java-util-collection-toarray

The suggested approach is probably to exclude the obsolete rrb-vector and include the new version:

                 [hashp "0.1.0"
                  ;; exclude old rrb vector to make it work with JDK 11: https://www.deps.co/blog/how-to-upgrade-clojure-projects-to-use-java-11#java-util-collection-toarray
                  :exclusions [org.clojure/core.rrb-vector]
                  [org.clojure/core.rrb-vector "0.0.13"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant