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

[hot_reload] Check for added fields earlier in compute_class_bitmap #89121

Merged
merged 4 commits into from
Jul 18, 2023

Conversation

lambdageek
Copy link
Member

Added fields don't contribute to the class bitmap, and they also might not have their type resolved yet - move the "is from update" check before we need to access the field's type

Fixes #86172

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-EnC-mono Hot Reload for WebAssembly, iOS/Android, etc label Jul 18, 2023
@ghost ghost assigned lambdageek Jul 18, 2023
@lambdageek lambdageek marked this pull request as draft July 18, 2023 19:23
@lambdageek lambdageek marked this pull request as ready for review July 18, 2023 19:40
@lambdageek lambdageek force-pushed the fix-gh-86172 branch 2 times, most recently from 1b727e3 to c0510fe Compare July 18, 2023 19:42
and in mono_class_create_runtime_vtable

Added fields don't contribute to the class bitmap, and they also might
not have their type resolved yet - move the "is from update" check
before we need to access the field's type
@lambdageek lambdageek merged commit df8e7e8 into dotnet:main Jul 18, 2023
129 of 133 checks passed
@ghost ghost locked as resolved and limited conversation to collaborators Aug 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-EnC-mono Hot Reload for WebAssembly, iOS/Android, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[mono][hotreload] Adding a new field didn't work
3 participants