ralf0131 commented on issue #342: kryo扩展对枚举类型的支持
URL: https://github.com/apache/incubator-dubbo/issues/342#issuecomment-389821762
 
 
   The latest code added an extra check for `!type.isEnum()`.
   
   ```java
           if (!type.isArray() && !type.isEnum() && 
!ReflectionUtils.checkZeroArgConstructor(type)) {
               if (logger.isWarnEnabled()) {
                   logger.warn(type + " has no zero-arg constructor and this 
will affect the serialization performance");
               }
               return new JavaSerializer();
           }
   ```
   
   So you issue should be fixed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to