This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-30
Channels
- # adventofcode (3)
- # announcements (4)
- # babashka (42)
- # beginners (56)
- # biff (23)
- # cider (8)
- # clj-yaml (2)
- # cljdoc (16)
- # clojure (83)
- # clojure-europe (52)
- # clojure-nl (3)
- # clojure-norway (4)
- # clojure-sweden (2)
- # clojure-uk (2)
- # clojurebridge (1)
- # clojurescript (2)
- # cloverage (1)
- # cursive (11)
- # data-oriented-programming (1)
- # deps-new (2)
- # dev-tooling (2)
- # emacs (3)
- # etaoin (4)
- # events (5)
- # fulcro (5)
- # gratitude (3)
- # java (3)
- # jobs (1)
- # jobs-discuss (1)
- # joyride (33)
- # malli (16)
- # music (1)
- # nbb (1)
- # nrepl (4)
- # nyc (1)
- # off-topic (25)
- # pathom (8)
- # re-frame (1)
- # reitit (7)
- # remote-jobs (2)
- # shadow-cljs (6)
- # tools-deps (9)
Is there a way to have the job run with java19 with --enable-preview
? I am hitting an issue with a (somewhat bleeding edge thing) https://app.circleci.com/pipelines/github/cljdoc/builder/37933/workflows/d69459b7-cb6a-495f-b9ba-23d8a0867d38/jobs/54307
Thanks for asking @U050SC7SV.
No, not yet.
Production does API analysis currently only on jdk17.
That's an interesting note on jdk19. I guess folks would typically want to use the --enable-preview
java opt for jdk19?
At work, we've talked about adding --enable-preview
to all our JDK invocations so that we can leverage preview fixtures in any JDK we use, so that might be worth considering regardless of the JDK used for running the analysis. At least you'd be future-proofed for any JDK upgrades that cljdoc gets 🙂
that should do it: https://github.com/cljdoc/builder/pull/6
Sorry @U050SC7SV https://github.com/cljdoc/builder/pull/6#issuecomment-1332503852. If only it were so easy!
@UE21H2HHD What analysis would break switching from JDK17 to JDK19? (I hoped that link would give specifics -- or do I need to dig deeper into those linked issues in that comment?)
Ah, the Thread/sleep
issue? Yes, we ran into that updating to JDK19, but that was a while back and I'd forgotten.
Ya @U04V70XH6, that's the culprit I know about.
That issue is so old and long. Here's the https://github.com/cljdoc/cljdoc/issues/275#issuecomment-1326642637 on JDK19 Thread/sleep
Now that I have access to cljdoc's logs via Sentry (recently upgraded thanks to @martinklepsch and Sentry), this means I can easily see any unexpected exceptions being thrown when folks are using cljdoc. I'll start looking at these sometime soon. This should help to improve the overall experience of using cljdoc and give me more insights into what we thought we were handling but aren't!