Skip to content

Commit

Permalink
[illink] Do not preserve whole JNIEnv class
Browse files Browse the repository at this point in the history
Part of dotnet#5167

Instead preserve just methods accessed from native code.
  • Loading branch information
radekdoulik committed Dec 9, 2020
1 parent 89edafc commit b2050f2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
<type fullname="Android.Runtime.IJavaObject" />
<type fullname="Android.Runtime.InputStreamAdapter" />
<type fullname="Android.Runtime.InputStreamInvoker" />
<type fullname="Android.Runtime.JNIEnv" />
<type fullname="Android.Runtime.JNIEnv">
<method name="Exit" />
<method name="Initialize" />
<method name="PropagateUncaughtException" />
<method name="RegisterJniNatives" />
</type>
<type fullname="Android.Runtime.JniNativeInterfaceStruct" />
<type fullname="Android.Runtime.JniNativeInterfaceInvoker" />
<type fullname="Android.Runtime.JNINativeWrapper" />
Expand Down

0 comments on commit b2050f2

Please sign in to comment.