Skip to content

Commit 79b9908

Browse files
Update justification message
1 parent db695b4 commit 79b9908

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Mono.Android/Java.Interop/JavaConvert.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ static class JavaConvert {
5757

5858
static Func<IntPtr, JniHandleOwnership, object?>? GetJniHandleConverter (Type? target)
5959
{
60-
[UnconditionalSuppressMessage ("Trimming", "IL2055", Justification = "JavaDictionary<,>, JavaList<>, and JavaCollection<> are preserved by the MarkJavaObjects linker step.")]
60+
// FIXME: https://github.com/xamarin/xamarin-android/issues/8724
61+
// Might cause an issue in the future for NativeAOT
62+
[UnconditionalSuppressMessage ("Trimming", "IL2055", Justification = "We don't think the IDictionary, IList, or ICollection code paths occur if JavaDictionary<,>, JavaList<>, and JavaCollection<> do not exist.")]
6163
[return: DynamicallyAccessedMembers (DynamicallyAccessedMemberTypes.PublicMethods)]
6264
static Type MakeGenericType (
6365
[DynamicallyAccessedMembers (DynamicallyAccessedMemberTypes.PublicMethods)]

0 commit comments

Comments
 (0)