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

[NativeAOT] Reverted the change in IsInstanceOfException #90867

Merged
merged 2 commits into from
Aug 21, 2023

Conversation

VSadov
Copy link
Member

@VSadov VSadov commented Aug 21, 2023

Fixes: #90848

@ghost
Copy link

ghost commented Aug 21, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes: #90848

Author: VSadov
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: -

@VSadov VSadov marked this pull request as ready for review August 21, 2023 20:42
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks

@jkotas jkotas merged commit a2df89f into dotnet:main Aug 21, 2023
@VSadov
Copy link
Member Author

VSadov commented Aug 21, 2023

Thanks!

@VSadov
Copy link
Member Author

VSadov commented Aug 21, 2023

My thoughts on whether we need to backport this is that it is ok to be a 9.0 fix only:

  • This affects a corner case scenario when catch clause is used with irregular types (arrays, interfaces,..). It would require writing IL directly.
  • This is an assert-only bug. Everything works correctly in Release.

@jkotas
Copy link
Member

jkotas commented Aug 21, 2023

I agree

@ghost ghost locked as resolved and limited conversation to collaborators Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JIT test GenericCatchInterfaceProgram fails in Checked NativeAOT
2 participants