zookeeper
zookeeper copied to clipboard
ZOOKEEPER-3938: java client: upgrade jline from 2.x to 3.x and adapt Completer to the new API.
There are several Jline 3.x versions. I think it's time to adapt new version jlines. I made some adjustments to the 'JLineZNodeCompleter.java' in this pr.
the result is as follows.
@eolivelli Can you help me review my PR? And CI maven build failed, does it matter? I build the code without my commit and get the same test error.
@symat it seems jenkins failed on make c client module which is irrelevant to this commit. Could you take a look?
should be fix after https://github.com/apache/zookeeper/pull/1462
What's the difference with #1461 ?
What's the difference with #1461 ?
https://github.com/apache/zookeeper/pull/1461 is a draft. And this PR is not completely add jline license file. JLineZNodeCompleter
is not used actually in the zkCli.
@LiYvbo Was actually making the ZookeeperMain changes, I closed #1461 , since you have already made the changes. Thanks!