From ea214886d84a73595441c5562e8eb896362d4df6 Mon Sep 17 00:00:00 2001 From: Sven Boemer Date: Thu, 25 Jun 2026 15:26:16 -0700 Subject: [PATCH] Fix Android NativeAOT test crypto JNI export Keep the Android crypto trust-manager JNI callback rooted and exported for runtime NativeAOT test APKs, and re-enable the tests disabled for the missing export. Assisted-by: Copilot:gpt-5.5 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/testing/tests.android.targets | 5 +++++ src/libraries/tests.proj | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/eng/testing/tests.android.targets b/eng/testing/tests.android.targets index 7b20463c9e9330..f20521db7770bc 100644 --- a/eng/testing/tests.android.targets +++ b/eng/testing/tests.android.targets @@ -28,6 +28,11 @@ true <_SuppressNativeLibEventSourceWarning>true + + + + + diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index 51a1fad79f154b..bad62a0d5fed3c 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -611,10 +611,6 @@ - - - -