zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Han (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3087) Fix findbug warning introduced by ZOOKEEPER-3084.
Date Fri, 13 Jul 2018 03:51:00 GMT
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

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

This message was sent by Atlassian JIRA

View raw message