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

Fail early for bad handle unwraps #1777

Merged
merged 2 commits into from
Oct 30, 2019
Merged

Conversation

chrisseaton
Copy link
Collaborator

I'm not sure why we were letting these errors propagate? But in my experience they're much easier to understand if they fail like this, and I was dealing with a lot of them.

Shopify#1

@aardvark179
Copy link
Contributor

The original reason for allowing them to propagate was to handle a corner case in marking, but we that now goes down a different code path, so this seems like a good change.

graalvmbot pushed a commit that referenced this pull request Oct 30, 2019
@graalvmbot graalvmbot merged commit 9c9693d into oracle:master Oct 30, 2019
@chrisseaton chrisseaton deleted the bad-handles branch December 3, 2019 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants