This PR covers a number of changes required to get Circus Train building successfully using Java 11, as well as some cleanup and improvements, here's a summary of the changes:
Add explicit imports on libraries no longer present in Java 11 (javax.annotation-api, jaxb-api).
Exclude dependencies on jdk.tools as this is no longer present in Java 11.
Removed some usages of powermock which didn't play nicely with Java 11.
Upgrade to latest 2.x versions of Mockito and PowerMock for Java 11 support.
Proactively move to non-deprecated code in JUnit, Mockito and Hamcrest (brought to you by sed and grep).
Run GitHub actions using Java 8 and 11 to prove that both work (and to prevent regressions).
Remove unnecessary Mockito stubbings (version of Mockito that supports Java 11 by default fails tests on these).
Fixed Javadoc warnings in circus-train-api module.
This PR covers a number of changes required to get Circus Train building successfully using Java 11, as well as some cleanup and improvements, here's a summary of the changes:
javax.annotation-api
,jaxb-api
).jdk.tools
as this is no longer present in Java 11.powermock
which didn't play nicely with Java 11.sed
andgrep
).circus-train-api
module.