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

Flatland Dependency Issue with JDK11 #28

Closed
defndaines opened this issue Oct 17, 2018 · 5 comments
Closed

Flatland Dependency Issue with JDK11 #28

defndaines opened this issue Oct 17, 2018 · 5 comments

Comments

@defndaines
Copy link

The library is affected by clj-commons/ordered#37

Users on JDK11 may encounter errors. Mine manifested because lein test-refresh broke for our project with this message:

Error refreshing environment: java.lang.IllegalArgumentException: Must hint overloaded method: toArray, compiling:(flatland/ordered/set.clj:12:1)

or, more confusingly:

Error refreshing environment: java.lang.IllegalAccessError: ordered-set does not exist, compiling:(yaml/reader.clj:1:1)
@danielcompton
Copy link

This is now released in [org.flatland/ordered "1.5.7"].

@cloojure
Copy link

Could you possibly update your dependencies? Reading YAML fails under Java 11 because of outdated version dependency on org.flatland/ordered.

lein ancient reports:

[org.clojure/clojure "1.10.0"] is available but we use "1.6.0" (use :check-clojure to upgrade)
[org.yaml/snakeyaml "1.23"] is available but we use "1.19"
[org.flatland/ordered "1.5.7"] is available but we use "1.5.2"

I would also suggest updating Clojure to at least 1.8, and both ordered and snakeyaml to the latest versions.

owainlewis added a commit that referenced this issue Mar 13, 2019
Update org.flatland/ordered to 1.5.7; fixes #28
@raszi
Copy link

raszi commented Apr 29, 2019

Could you please release the new version?

@jvia
Copy link

jvia commented Jun 21, 2019

Any chance this will get a release soon?

@cloojure
Copy link

justone added a commit to justone/lambda-kube that referenced this issue Sep 2, 2020
With 1.0.9, I was getting the errors from owainlewis/yaml#28.
brosenan pushed a commit to brosenan/lambda-kube that referenced this issue Sep 4, 2020
* Update io.forward/yaml dependency.

With 1.0.9, I was getting the errors from owainlewis/yaml#28.

* Bump travis to JDK 11, transitive dependency snakeyaml needs it

* Update midje dependency

* Update remaining dependencies to the latest
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

5 participants