-
Notifications
You must be signed in to change notification settings - Fork 179
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
The cache initialized can perform side-effectful Class/forName
s
#842
Comments
False alarm - the user's java code was based on final static fields, not static initializers. We cannot work around those. It's a pretty extreme edge case and there's an easy refactoring path (static fields -> static initializers). |
Is there anything to be done to avoid someone in this situation going down the path of trying to debug what is going on? |
Unfortunately the call to
|
Considering that as of today we offer support practically 7 days a week (my pleasure 🙂) I'm not immediately concerned by this meta-problem. Perhaps we can add an integration test ensuring that no requires are performed, for the supported use cases:
Good catch! I see, unfortunately the However there's an easy fix - change |
https://clojurians.slack.com/archives/C0617A8PQ/p1705167808132879
Although
cider-nrepl/src/cider/nrepl.clj
Lines 45 to 47 in c80f47c
The text was updated successfully, but these errors were encountered: