isn't working because VE resolves to java.lang.Object instead of to an instance of java.util.Collection.
When VE resolves to java.lang.Object while collectionType is explicitly mentioned, it should be used to create the Collection instance rather than defaulting to an Object[]. Currently, the collectionType is unexpectedly ignored when VE resolves to java.lang.Object.
https://stackoverflow.com/q/78214508
This,
isn't working because VE resolves to
java.lang.Object
instead of to an instance ofjava.util.Collection
.When VE resolves to
java.lang.Object
whilecollectionType
is explicitly mentioned, it should be used to create theCollection
instance rather than defaulting to anObject[]
. Currently, thecollectionType
is unexpectedly ignored when VE resolves tojava.lang.Object
.