chaokunyang commented on PR #3061:
URL: https://github.com/apache/fory/pull/3061#issuecomment-3669381558

   Let's keep it simple, just remove this warning message. We already printed 
warning messages in :
   
   ```
     private Serializer createSerializer(Class<?> cls) {
       DisallowedList.checkNotInDisallowedList(cls.getName());
       if (!isSecure(cls)) {
         throw new InsecureException(generateSecurityMsg(cls));
       } else {
         if (!fory.getConfig().suppressClassRegistrationWarnings()
             && !Functions.isLambda(cls)
             && !ReflectionUtils.isJdkProxy(cls)
             && !extRegistry.registeredClassIdMap.containsKey(cls)
             && !shimDispatcher.contains(cls)) {
           LOG.warn(generateSecurityMsg(cls));
         }
       }
   ```
   
   Could you update this function: if TypeChecker is set, we skip print warning 
message


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