You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/20 13:37:27 UTC

[GitHub] [dubbo] wangchengming666 commented on a change in pull request #8852: [3.0] fix serialVersionUID

wangchengming666 commented on a change in pull request #8852:
URL: https://github.com/apache/dubbo/pull/8852#discussion_r712174802



##########
File path: dubbo-common/src/main/java/org/apache/dubbo/common/logger/jcl/JclLogger.java
##########
@@ -28,7 +28,7 @@
  */
 public class JclLogger implements Logger, Serializable {
 
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = -7694601616451571342L;

Review comment:
       `private static final long serialVersionUID = 1L;`是默认值,改成这样子不会有影响反序列化,我看dubbo中所有的`serialVersionUID`都是生成的没有用默认值,为了统一规范提了这个PR😁




-- 
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: notifications-unsubscribe@dubbo.apache.org

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



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