Skip to content

Create test for resurrection of RCW in COM Wrappers - #132058

Open
AustinWise wants to merge 1 commit into
dotnet:mainfrom
AustinWise:awise/NativeObjectWrapper
Open

Create test for resurrection of RCW in COM Wrappers#132058
AustinWise wants to merge 1 commit into
dotnet:mainfrom
AustinWise:awise/NativeObjectWrapper

Conversation

@AustinWise

@AustinWise AustinWise commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

#132040 made an assumption that runtime callable wrappers in COM Wrappers can only be resurrected when have a finalizer. This test shows that it is possible to resurrects such an object and tests that the ComWrappers.TryGetComInstance still works with the resurrected object. This test passes on main and fails on #132040. This new test is similar to the existing test that validates managed object wrappers still work after being resurrected.

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Aug 9, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

@AustinWise
AustinWise force-pushed the awise/NativeObjectWrapper branch from 2483f5b to 36437b0 Compare August 10, 2026 00:07
@AustinWise AustinWise changed the title Create test for resurrection of RCW Create test for resurrection of RCW in COM Wrappers Aug 10, 2026
@AustinWise
AustinWise marked this pull request as ready for review August 10, 2026 00:33
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Interop-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant