Closed bbatsov closed 3 years ago
thanks Bug for flagging, will have a look.
Thanks! I looked quckly what's changed in cljfmt and this commit is the likely cause of the breakage IMO https://github.com/weavejester/cljfmt/commit/7571de0760a9a26f5167349f8811f62597cb1c3d Probably something to do with the genclass
.
no idea how the above commit caused this, there was an obviously wrong assumption in the function in mranderson when calculating all the java class prefixes to create the jarjar rule to rename with. assumption was that all packages at least two tokens deep so foo.bar.Baz
for any Baz class. that is not true for cljfmt's difflib depedency causing some classes with only the difflib
package not being inlined properly by the jarjar step.
hope this makes sense. tested this with cider-nrepl
(install and smoketest targets) and refactor-nrepl
(test target). please give it a spin, available as 0.5.3-SNAPSHOT
on clojars
I can confirm that the fix works. Thanks!
cool, will release 0.5.3 shortly
@benedekfazekas Don't forget about this new release. :-)
and I did. shame on me as @liquidz reminded me too. released now, sry folks!
No worries!
I ran into the following problem when trying to release cider-nrepl 0.25.6:
It doesn't seem to be a regression in the most recent mranderson, as I got the same problem with the previous release as well. I've reverted to cljfmt 0.6.8, so I can release something but ideally we should fix this problem somehow.
You can easily reproduce this by running on the current master of cider-nrepl. I'm using JDK 14, but I'm not sure if that's relevant or the problem's there for every JDK.