zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2747) Fix ZooKeeperAdmin Compilation Warning
Date Tue, 18 Apr 2017 00:43:41 GMT

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

Hudson commented on ZOOKEEPER-2747:
-----------------------------------

SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #3359 (See [https://builds.apache.org/job/ZooKeeper-trunk/3359/])
ZOOKEEPER-2747: Fix ZooKeeperAdmin Compilation Warning (hanm: rev 6e91424b220ccbefc8456e1b8a5e0ba0e5130f9a)
* (edit) src/java/main/org/apache/zookeeper/admin/ZooKeeperAdmin.java


> Fix ZooKeeperAdmin Compilation Warning
> --------------------------------------
>
>                 Key: ZOOKEEPER-2747
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2747
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.5.2
>            Reporter: Abraham Fine
>            Assignee: Abraham Fine
>             Fix For: 3.5.4, 3.6.0
>
>
> Currently when compiling ZooKeeper we se a compilation warning:
> {code}
>     [javac] /zookeeper/src/java/main/org/apache/zookeeper/admin/ZooKeeperAdmin.java:43:
warning: [try] auto-closeable resource ZooKeeperAdmin has a member method close() that could
throw InterruptedException
>     [javac] public class ZooKeeperAdmin extends ZooKeeper {
>     [javac]        ^
>     [javac] 2 warnings
> {code}
> This is due to the implementation of AutoCloseable in the ZooKeeper superclass. That
class has a warning suppression and explanation, we should copy it to the ZooKeeperAdmin class.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message