Parcelize: Fix IBinderIInterface test

This commit is contained in:
Steven Schäfer
2020-04-07 16:27:25 +02:00
committed by Alexander Udalov
parent 518c7a32b8
commit 9fc210224d
3 changed files with 94 additions and 15 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// CURIOUS_ABOUT writeToParcel, createFromParcel
// WITH_RUNTIME
@@ -12,6 +11,7 @@ class User(
val binder: IBinder,
val binderArray: Array<IBinder>,
val binderList: List<IBinder>,
val binderArrayList: ArrayList<IBinder>, // should be serialized using our strategy, not using Parcel.writeBinderList()
val intf: IInterface?
val binderArrayList: ArrayList<IBinder> // should be serialized using our strategy, not using Parcel.writeBinderList()
// There is no readStrongInterface method in Parcel.
// val intf: IInterface?
) : Parcelable