You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2018/07/13 03:51:00 UTC

[jira] [Created] (ZOOKEEPER-3087) Fix findbug warning introduced by ZOOKEEPER-3084.

Michael Han created ZOOKEEPER-3087:
--------------------------------------

             Summary: Fix findbug warning introduced by ZOOKEEPER-3084.
                 Key: ZOOKEEPER-3087
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3087
             Project: ZooKeeper
          Issue Type: Task
          Components: tests
    Affects Versions: 3.6.0
            Reporter: Michael Han
            Assignee: Michael Han


Findbug complains after ZOOKEEPER-3084:

bq. DM_EXIT: Method invokes System.exit(...): Invoking System.exit shuts down the entire Java virtual machine. This should only been done when it is appropriate. Such calls make it hard or impossible for your code to be invoked by other code. Consider throwing a RuntimeException instead.

While in this case we should really quit so just make an exception for this case.



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