GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/3881
MINOR: Update powermock and enable its tests when running with Java 9 Also fix WorkerTest to use the correct `Mock` annotations. `org.easymock.Mock` is not supported by PowerMock 2.x. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ijuma/kafka kafka-5884-powermock-java Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3881.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3881 ---- commit 3913864db02dde559c97808e2e5fc3a0833f38b6 Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-09-17T09:54:11Z MINOR: Update powermock and enable its tests when running with Java 9 ---- ---