Skip to content

Conversation

jtschuster
Copy link
Member

This is a proof of concept for using the TypeMap API from .NET 10 as the source of .NET - Java type mapping. The TypeMap API only allows for a one-to-one relationship between .NET and Java types. To test the viability of it, this branch removes all conditional logic in mapping a Java object to a .NET type, and follows the algorithm in Android's NativeAOT TypeMappingStep to find the single best type for the Java class, and creates an instance of that type. I didn't find any cases where this fails in tests locally.

@jtschuster
Copy link
Member Author

cc @jonathanpeppers @simonrozsival

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.

1 participant