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

Fix IDIC casts to invalid WinRT interfaces #1659

Merged
merged 4 commits into from
Jul 3, 2024

Conversation

manodasanW
Copy link
Member

With the new AOT changes, it looks like IDIC casts to invalid WinRT interfaces cause a crash during helper type lookup due to the either triggering the fallback logic to init vtable in JIT or due to not being a valid helper type on AOT. But with IDIC, if they did an as operator, it shouldn't crash. Due to this, adding a check for if it is a WinRT type before going through the IDIC QI logic.

@manodasanW manodasanW merged commit 016e9ec into staging/AOT Jul 3, 2024
10 checks passed
@manodasanW manodasanW deleted the manodasanw/idiccatch branch July 3, 2024 03:38
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