-
Notifications
You must be signed in to change notification settings - Fork 564
[Xamarin.Android.Build.Tasks] make sure Disposable () is called for assembly
#231
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
Conversation
|
This supersedes #230. I couldn't repro #44529 specifically though, @radekdoulik could you test it please? |
external/Java.Interop
Outdated
| @@ -1 +1 @@ | |||
| Subproject commit a1d3ecc8ba6e67b96ae1c633194b0e78c2ac5c23 | |||
| Subproject commit d2b5bc101c6643dac5d377451a7a84d232adf93e | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure we need a java.interop change, you might need to update your submodules'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there're changes in Java.Interop required, see dotnet/java-interop#87.
7357b06 to
8a36f0e
Compare
… assembly see jbevain/cecil#291 this fixes one of the `Sharing violation` issues, probably also #44529
8a36f0e to
d0e77f6
Compare
|
updated PR, now works with the repro provided by https://bugzilla.xamarin.com/show_bug.cgi?id=44529#c2 However, it's a bit tricky: I think |
It should dispose; that is part of dotnet/java-interop#88 |
|
This PR is superseded by PR #233. |
Commit 7d51163 removed use of the `__RegisterNativeMembers()` method, so there is no longer a need to ignore it. Instead, we need to ignore `JavaProxyObject.RegisterNativeMembers()`, which *is* invoked via Reflection.
see jbevain/cecil#291
This fixes the
Sharing violationissue we've seen in theRemoveRegisterAttributetask. I also attempted to fix #44529.Depends on dotnet/java-interop#87, then this PR needs an update.