Jonathan Pryor

Results 112 comments of Jonathan Pryor
trafficstars

I don't like this change, adding `(IntPtr, JniHandlerOwnership)` constructors often hides problems. The `NotSupportedException` + `MissingMethodException` is thrown because Java code is attempting to invoke a method on a C#...

We can confirm that the x86_64 NDK tools that Xamarin.Android uses run on Rosetta 2 on the Apple DTK. I can't say how "well" they run, but they *do* run,...

> Great, thanks for that info. Just to check, they run outside your app bundle as well? No, we re-package and redistribute bits of the Android NDK toolchain such that...

Quasi-related: https://github.com/jonpryor/java.interop/commits/jonp-registration-scope

Quasi-related: https://github.com/jonpryor/java.interop/commits/jonp-registration-scope

See also: https://github.com/xamarin/java.interop/pull/1101#issuecomment-1518136752 The optimization described in this issue is *only* valid if the `*Formatted` property is *not `virtual`*. This is the case for some properties, such as [`TextView.TextFormatted`](https://learn.microsoft.com/en-us/dotnet/api/android.widget.textview.textformatted?view=xamarin-android-sdk-13), but...

Repro of the concern: [formatted-semantics.zip](https://github.com/xamarin/java.interop/files/11314319/formatted-semantics.zip) The repro has three parts: 1. A Java class which will generate a C# `TextFormatted` property, backed by a field value: ```java public class ContainsTextFormattedProperty...

For a brief moment, I thought that this entire question might be "moot" in Java.Base (#858), because I thought that C# 8+ -- which allows static members on interfaces --...

Closing as this is largely moot as of #1046 + dependencies.

More recent random thoughts… We're now ".NET", not Xamarin.Android, and as part of that migration we now use the .NET linker in the Release configuration. The .NET linker runs a...