[ https://issues.apache.org/jira/browse/KAFKA-5884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16169961#comment-16169961 ]
Ismael Juma commented on KAFKA-5884: ------------------------------------ Resolved via https://github.com/apache/kafka/commit/a3f068e22da6915cbc473be8da0cfbb229817436. > Enable PowerMock tests when running on Java 9 > --------------------------------------------- > > Key: KAFKA-5884 > URL: https://issues.apache.org/jira/browse/KAFKA-5884 > Project: Kafka > Issue Type: Task > Reporter: Ismael Juma > Assignee: Ismael Juma > Fix For: 1.0.0 > > > PowerMock 2.0.0 will support Java 9. Once that is released, we should upgrade > to it and remove the following code from build.gradle: > {code} > String[] testsToExclude = [] > if (JavaVersion.current().isJava9Compatible()) { > testsToExclude = [ > "**/KafkaProducerTest.*", "**/BufferPoolTest.*", > "**/SourceTaskOffsetCommitterTest.*", "**/WorkerSinkTaskTest.*", > "**/WorkerSinkTaskThreadedTest.*", > "**/WorkerSourceTaskTest.*", "**/WorkerTest.*", > "**/DistributedHerderTest.*", "**/WorkerCoordinatorTest.*", > "**/RestServerTest.*", "**/ConnectorPluginsResourceTest.*", > "**/ConnectorsResourceTest.*", > "**/StandaloneHerderTest.*", "**/FileOffsetBakingStoreTest.*", > "**/KafkaConfigBackingStoreTest.*", > "**/KafkaOffsetBackingStoreTest.*", "**/OffsetStorageWriterTest.*", > "**/KafkaBasedLogTest.*" > ] > } > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)