stevenschlansker commented on code in PR #2250:
URL: https://github.com/apache/fury/pull/2250#discussion_r2101324327


##########
java/fury-core/src/main/java/org/apache/fury/type/TypeUtils.java:
##########
@@ -737,7 +744,7 @@ private static LinkedHashSet<Class<?>> 
listBeansRecursiveInclusive(
         TypeRef<?> elementType = getElementType(typeToken);
         LinkedHashSet<TypeRef<?>> newPath = new 
LinkedHashSet<>(walkedTypePath);
         newPath.add(elementType);
-        beans.addAll(listBeansRecursiveInclusive(elementType.getClass(), 
newPath, customTypes));

Review Comment:
   I think this is a pre-existing bug - `elementType.getClass()` is always 
`TypeRef.class`, should this be `getRawType` instead?



-- 
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]

Reply via email to