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

Isolate user classloader from mdoc classloader #356

Merged
merged 2 commits into from
Jun 25, 2020

Conversation

olafurpg
Copy link
Member

Fixes #346. Previously, mdoc leaked the mdoc classpath into the user's
code at runtime which could result in runtime crashes if the user code
had dependencies that conflict with mdoc's dependencies (such as
fastparse). Now, mdoc isolates the mdoc classpath to prevent these
conflicts.

Fixes scalameta#346. Previously, mdoc leaked the mdoc classpath into the user's
code at runtime which could result in runtime crashes if the user code
had dependencies that conflict with mdoc's dependencies (such as
fastparse). Now, mdoc isolates the mdoc classpath to prevent these
conflicts.
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for taking a look at it!

@olafurpg olafurpg merged commit 54f40f3 into scalameta:master Jun 25, 2020
@olafurpg olafurpg deleted the issue-346 branch June 25, 2020 09:22
@phdoerfler
Copy link

Thanks for taking care of this!

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.

NoSuchMethodError when using fastparse in a worksheet
3 participants