When sending lists over the bus using callMethodAsync, if one of the parameters is a list(e.g. subclass of java.util.list), but not a java.util.list directly, it will fail to send over the bus due to the library trying to interpret the ArrayList as a param to the function.
Also added a test to ensure that this behavior does work correctly.
I'm not exactly sure why this is not needed for Structs. It may also be needed for subclasses of java.util.Map, but that is not a use-case for me.
When sending lists over the bus using callMethodAsync, if one of the parameters is a list(e.g. subclass of
java.util.list
), but not ajava.util.list
directly, it will fail to send over the bus due to the library trying to interpret theArrayList
as a param to the function.Also added a test to ensure that this behavior does work correctly.
I'm not exactly sure why this is not needed for
Struct
s. It may also be needed for subclasses ofjava.util.Map
, but that is not a use-case for me.