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: commits-unsubscr...@fury.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org
For additional commands, e-mail: commits-h...@fury.apache.org

Reply via email to