david1437 commented on code in PR #2218:
URL: https://github.com/apache/fury/pull/2218#discussion_r2084451177
##########
java/fury-core/src/main/java/org/apache/fury/serializer/ArraySerializers.java:
##########
@@ -69,12 +76,23 @@ public ObjectArraySerializer(Fury fury, Class<T[]> cls) {
if (fury.getClassResolver().isMonomorphic(componentType)) {
if (fury.isCrossLanguage()) {
this.componentTypeSerializer = null;
+ this.collectionSerializer = null;
+ this.collectionGenericType = null;
} else {
this.componentTypeSerializer =
fury.getClassResolver().getSerializer(componentType);
+ if (dimension > 1) {
+ this.collectionSerializer = new FuryArrayAsListSerializer(fury);
+ this.collectionGenericType = buildCollectionGenericType(dimension);
+ } else {
+ this.collectionSerializer = null;
Review Comment:
I thought for 1D / Non nested generics that we intended to use the normal
default serialization path that was in place before?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]