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