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

[linker] Fix "Linked Away" exceptions with Thread.CurrentPrincipal. Fix #7321 #7510

Merged
merged 1 commit into from
Nov 28, 2019

Conversation

spouliot
Copy link
Contributor

Keep 'CallContextSecurityData' around since it's quite small (and the
normal linker logic will be able to deal with it if unused) and allows
the use of Thread.CurrentPrincipal

Also add unit test.

Fix #7321

xamarin#7321

Keep 'CallContextSecurityData' around since it's quite small (and the
normal linker logic will be able to deal with it if unused) and allows
the use of `Thread.CurrentPrincipal`

Also add unit test.

Fix xamarin#7321
@monojenkins
Copy link
Collaborator

Build failure
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
🔥 Test run failed 🔥

Test results

1 tests failed, 88 tests passed.

Failed tests

  • monotouch-test/watchOS 32-bits - simulator/Debug: Crashed

@spouliot
Copy link
Contributor Author

failure is a known issue, HE0038 on watchOS https://github.com/xamarin/maccore/issues/581

@spouliot spouliot merged commit 845e757 into xamarin:master Nov 28, 2019
@spouliot spouliot deleted the principal branch November 28, 2019 19:17
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.

"Linked Away" exception when using CurrentPrincipal with SDK linking enabled
3 participants