-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
boot repl auto-completion broken in JDK 9 and above #706
Comments
@tirkarthi that's right about
|
Thanks I have updated the files to have 0.4.0 and made |
If you didn't change It sounds like you might have your own ~/.boot/boot.properties with a different BOOT_VERSION specified. So, when you run
Does that show you anything different? |
Thanks, I have a boot.properties file at |
On an side note, I pushed a commit with reply version as 0.4.0 and the CI build for JDK 11 fails with the dependency clojure/core.rrb-vector at https://travis-ci.org/tirkarthi/boot/jobs/398611988#L803 . It used to pass few days back and it seems something has changed in between in the EA build that it fails now. Maybe I will try reporting it upstream since this occurs with 0.0.11 and maybe fixed in master which is not released yet. Let me know if I can make a PR with reply upgraded and JDK 11 disabled in CI for now since EA builds seem to be unstable. |
When you say it hangs, for how long is it hanging? I ask because downloading |
I think it's something with root user. I had it for 15 minutes or so meanwhile no non-root user did it in 2 minutes. To make sure I install reply 0.4.0 I went to boot/worker and ran lein install which installs from the project.clj but still bin/boot repl shows 0.3.7 . I did Thanks. |
@tirkarthi if you raise a PR I'm happy to try it out, thank you in advance. |
Thanks I have raised #711 which is a find and replace of version numbers. There seems to be problems with compiling Clojure on JDK 11 EA build due to recent changes in JDK. This causes CI to fail since the dependency chain uses core.rrb-vector which is also JDK 11 incompatible but the issue was fixed in master. Let me know if I need to disable JDK 11 for now in Travis that can raised a separate PR. core.rrb-vector fixed in master : clojure/core.rrb-vector@b489b32 |
I think this is fixed now by #711, thank you. |
Problem Description
boot repl autocompletion in JDK 8 and above throws NullPointerException for certain cases
Steps to reproduce
clojure.co
.Platform details
This is caused due to outdated version of reply 0.3.7 which is not compatible with JDK 9 and above. reply uses clojure-complete which causes the exception. This has been fixed in clojure-complete and in reply with 0.3.8 that uses updated clojure-complete. This has been fixed in lein master but not yet released. Bumping reply version to 0.4.0 which is the latest will help.
Ref reply commit : trptcolin/reply@6a7eafc
Leiningen issue : technomancy/leiningen#2380
Upstream clojure-complete issue : ninjudd/clojure-complete#24
I am willing to raise a PR and any help on how to upgrade reply will help. I tried simple grep and replaced it in boot/worker/build.boot and boot/worker/project.clj . But make deps uses the old dependency. Is that something to do with downloading stable version of lein which doesn't have the fix?
The text was updated successfully, but these errors were encountered: