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 03:21:27 UTC

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

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



##########
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:
       这个不能随便改呀,不然用不同的版本的dubbo交互的时候,这个无法进行反序列化了、
   
   另外, 我个人觉得用1和用长一点的随机数没啥区别呀~只需要标记固定的版本数就行了。 求教  




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