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

[release/8.0] [Mono] Fix offset calculation for nested struct, when pinvoke is enabled #91417

Merged
merged 5 commits into from
Sep 1, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 31, 2023

Backport of #91292 to release/8.0

/cc @fanyang-mono

Customer Impact

Prior to this change, the offset of fields was calculated incorrectly for nested struct when PInvoke is enabled. One of the Android customers hit an assertion when build an app.

Testing

Added a new test, which passed on CI.
Validated customer's use case locally. It works correctly now.

Risk

Low risk.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Aug 31, 2023
@fanyang-mono fanyang-mono added this to the 8.0.0 milestone Aug 31, 2023
@fanyang-mono fanyang-mono added area-Interop-mono Servicing-consider Issue for next servicing release review area-Codegen-JIT-mono area-Codegen-AOT-mono and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Aug 31, 2023
@fanyang-mono
Copy link
Member

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lambdageek lambdageek added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 1, 2023
@fanyang-mono
Copy link
Member

Test failures on CI are all known issues. @carlossanlop this PR is ready to be merged. :)

@carlossanlop carlossanlop merged commit cd8b2cb into release/8.0 Sep 1, 2023
201 of 218 checks passed
@carlossanlop carlossanlop deleted the backport/pr-91292-to-release/8.0 branch September 1, 2023 18:24
@radical radical mentioned this pull request Sep 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Interop-mono Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants