chaokunyang commented on code in PR #2271:
URL: https://github.com/apache/fury/pull/2271#discussion_r2118614308


##########
java/fory-core/src/main/java/org/apache/fory/Fory.java:
##########
@@ -233,6 +269,7 @@ public <T> void registerSerializer(Class<T> type, Class<? 
extends Serializer> se
 
   @Override
   public void registerSerializer(Class<?> type, Serializer<?> serializer) {
+    validateCollectionSerializer(type, serializer);

Review Comment:
   ```suggestion
       validateCollectionSerializer(type, serializer.getClass());
   ```



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