Skip to content
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

Catch LinkageError when calling Class/forName #39

Merged
merged 1 commit into from
Jan 11, 2019

Conversation

cichli
Copy link
Member

@cichli cichli commented Jan 10, 2019

Fixes clojure-emacs/cider#2562. See https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.2 for a far more exhaustive discussion of what is actually going on during class loading/initialisation, and why we might need to guard against these errors when calling Class/forName – especially when native libraries are involved.

@bbatsov bbatsov merged commit ae4d0f2 into clojure-emacs:master Jan 11, 2019
@bbatsov
Copy link
Member

bbatsov commented Jan 11, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants