Skip to content

Commit

Permalink
[DAM] not needed on JavaCollection<T>, JavaList<T>, JavaDictionary<K,V>
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpeppers committed Mar 11, 2024
1 parent ffd33ed commit db695b4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/Mono.Android/Android.Runtime/JavaCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ public static IntPtr ToLocalJniHandle (ICollection? items)
}
}

// Preserve FromJniHandle
[DynamicallyAccessedMembers (DynamicallyAccessedMemberTypes.PublicMethods)]
[Register ("java/util/Collection", DoNotGenerateAcw=true)]
public sealed class JavaCollection<
[DynamicallyAccessedMembers (Constructors)]
Expand Down
2 changes: 0 additions & 2 deletions src/Mono.Android/Android.Runtime/JavaDictionary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,6 @@ public static IntPtr ToLocalJniHandle (IDictionary? dictionary)
// instantiates a type we don't know at this time, so we have no information about the exceptions
// it may throw.
//
// Preserve FromJniHandle
[DynamicallyAccessedMembers (DynamicallyAccessedMemberTypes.PublicMethods)]
[Register ("java/util/HashMap", DoNotGenerateAcw=true)]
public class JavaDictionary<
[DynamicallyAccessedMembers (Constructors)]
Expand Down
2 changes: 0 additions & 2 deletions src/Mono.Android/Android.Runtime/JavaList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,6 @@ public virtual Java.Lang.Object [] ToArray ()
#endregion
}

// Preserve FromJniHandle
[DynamicallyAccessedMembers (DynamicallyAccessedMemberTypes.PublicMethods)]
[Register ("java/util/ArrayList", DoNotGenerateAcw=true)]
public class JavaList<
[DynamicallyAccessedMembers (Constructors)]
Expand Down

0 comments on commit db695b4

Please sign in to comment.