Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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:
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.*" ] }
Attachments
Issue Links
- is blocked by
-
KAFKA-4501 Support Java 9
- Resolved