Closed alexander-yakushev closed 3 months ago
The culprit was not the source-info
triggering parser loads, but the def module-info
line requiring parser-utils
. Given that module-info
was loaded a bit awkwardly already (and there was a comment affirming it), I've moved it into a separate namespace that can be safely loaded on any JDK after 8.
Another sidenote is the usage of "JDK9" in the names. Obviously, we won't change the existing ones for no reason, but I suggest we use JDK11 as the LTS version that we actually support.
I'm fine with updating the references to JDK 9 - they are there just because it introduced the module system (that probably no one is using still) and all the complexity that came with it. I think the LTS concept was added shortly afterward, but we forgot to update the references accordingly.
Replaced all mentions of JDK9.
This might be a good time for a new Orchard release.
Which version of cider-nrepl includes this fix, please?
The latest one certainly does.
Context here: https://clojurians.slack.com/archives/C17JYSA3H/p1724172844138059
On the JRE, loading CIDER (and hence Orchard) produces an exception like this: