[
https://issues.apache.org/jira/browse/ZOOKEEPER-4936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ZOOKEEPER-4936:
--------------------------------------
Labels: pull-request-available (was: )
> Make ZookeeperServer.shutdown(fullyShutdown) Non-final fix curator's
> TestingZookeeperMain
> -----------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-4936
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4936
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Vinayakumar B
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Curator's
> [TestingZookeeperMain|https://github.com/apache/curator/blob/master/curator-test/src/main/java/org/apache/curator/test/TestingZooKeeperMain.java#L259]
> is used for integration testing in many projects.
> It overrides {{Zookeeper#shutdown(fullyShutdown)}} to add additional logic.
> But recent change in this
> [commit|https://github.com/apache/zookeeper/commit/bc9afbf8ef1bc6156643d3d05c87fcf8411e9d8f]
> has made {{Zookeeper#shutdown(fullyShutdown)}} final.
> Due to this 3.9.3 Zookeeper is unable to be used in TestingZooKeeperMain.
> Resulting in {quote}java.lang.VerifyError: class
> org.apache.curator.test.TestingZooKeeperMain$TestZooKeeperServer overrides
> final method org.apache.zookeeper.server.ZooKeeperServer.shutdown(Z)V{quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)