Skip to content

Make leak avoidance more robust #2190

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

Merged
merged 1 commit into from
Apr 4, 2017

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 4, 2017

If class files are missing, finding an underlying class reference might give a NoType. This caused an asInstanceOf to fail. We now handle that case gracefully.

It's a small thing, and I found it too hard to reproduce in a test case. @smarter Since you are already current in checkNoPrivateLeaks do you want to take a quick look?

If class files are missing, finding an underlying class
reference might give a NoType. This caused an asInstanceOf
to fail. We now handle that case gracefully.
@odersky odersky requested a review from smarter April 4, 2017 18:49
@smarter
Copy link
Member

smarter commented Apr 4, 2017

Yes I saw that once before too, LGTM.

@smarter smarter merged commit 586113d into scala:master Apr 4, 2017
@allanrenucci allanrenucci deleted the fix-robust-avoidance branch December 14, 2017 19:21
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