Fork me on GitHub
#cider
<
2019-08-09
>
jumar09:08:12

I'm wondering what's the status of JDK 9+ / 11 support. I finally got tools.namespace/refresh working (well almost) in my project but it doesn't play well with cider: https://ask.clojure.org/index.php/8288/java-11-and-tools-namespace?show=8379#c8379 In particular, cider seems to add JDK's src.zip to the classloader's classpath and this doesn't work with clojure.java.classpath. Also, I can't display javadocs and jump to JDK's source when running on JDK 9 or 11 while I can do the same with JDK 8

bozhidar13:08:39

@jumar Are you problems with the stable or the snapshot version? The snapshot version has many fixes for Java 9+ and ditched the use of clojure.java.classpath in favor of Orchard’s implementation of this.

bozhidar13:08:48

As you can see we also dropped the internal use of tools.namespace in Orchard (although CIDER uses for ns refreshes).

jumar13:08:22

@bozhidar I'm using the recent cider version:

;; CIDER 0.22.0snapshot (package: 20190808.1659), nREPL 0.6.0
;; Clojure 1.10.1, Java 11.0.2

jumar13:08:30

Mac OS X if that matters

bozhidar13:08:20

I’ll have to revisit what exactly did we fix there. It’d be nice if you filed a couple of tickets for your particular issues, so we won’t forget to investigate those.

jumar16:08:06

@bozhidar I created these two guys: - https://github.com/clojure-emacs/cider/issues/2686 - https://github.com/clojure-emacs/cider/issues/2687 I merged the "broken javadoc" and "broken jump to the JDK class source" issues to the single 2687 since they seem to be pretty much the same thing - let me know if I should split them, though.

jumar16:08:44

I updated the second issue - it must be something in my profiles.clj that's causing that. When I remove profiles.clj it seems to work. Not sure about "jump to source" yet - will file separate issue after more testing

jumar14:08:32

Thanks, will do it in the evening (in a couple of hours)

benedek14:08:45

just noticed this https://github.com/magnars/kaocha-runner.el by magnars himself!!

benedek14:08:10

disclaimer: have not tried yet

skrat19:08:36

I'm still getting that same error