zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maoling (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3413) add a serialVersionUID for ClientCnxnLimitException to make compile no warning
Date Wed, 05 Jun 2019 09:57:01 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856556#comment-16856556
] 

maoling commented on ZOOKEEPER-3413:
------------------------------------

[~eolivelli]

is it a really issue?

I found it when building the source codes using *ant*

 

> add a serialVersionUID for ClientCnxnLimitException to make compile no warning
> ------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3413
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3413
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>    Affects Versions: 3.6.0
>            Reporter: maoling
>            Priority: Minor
>
> build-generated:
>  [javac] Compiling 2 source files to /Users/wenba/workspaces/workspace_zookeeper/zookeeper/build/classes
> compile:
>  [javac] Compiling 49 source files to /Users/wenba/workspaces/workspace_zookeeper/zookeeper/build/classes
>  [javac] /Users/wenba/workspaces/workspace_zookeeper/zookeeper/zookeeper-server/src/main/java/org/apache/zookeeper/server/ClientCnxnLimitException.java:24:
警告: [serial] 可序列化类ClientCnxnLimitException没有 serialVersionUID 的定义
>  [javac] public class ClientCnxnLimitException extends Exception {
>  [javac] ^
>  [javac] 1 个警告



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message