[4.3.0] Support Java 9

Issue #61 resolved
Marek Parfianowicz
created an issue

Basic support for Java 9.

All:

  • ensure OpenClover project itself compiles and runs with Java 9 (/)
  • ensure instrumented code compiles and runs with Java 9 (/)

Core:

  • ensure instrumenter parses module-info.java (don't modify it) (/)
  • auto-detection of JDK9 (/)
  • 1.9 source level setting (/)

Ant:

  • solve problem with <clover-env> task (system class loader) (/)

Groovy:

  • don't use CloverEnvTask (/)
  • run all Groovy tests under JDK9 (/)

IDEA:

  • 1.9 level in options (/)
  • 1.9 in internal/external compiler process (/)
  • minimum IDEA version bump (/) (minimum is 14.0 now)
  • test IDEA 14-2016 against JDK9 -> out of scope all IDEA14-2018 have JDK8 bundled in; IdeaTestCases are failing to start with JDK9 - there's no point of testing OpenClover against IDEA+JDK9
  • fix socket-based junit optimizer in IDEA 2016 -> out of scope, raised issue #70

Eclipse:

  • remove <clover-env> task (/)
  • manual test exploration in the latest supported Eclipse (/)

Maven:

  • build and test maven plugin with JDK9 (/)
  • update plugins in integration tests to the latest versions (/)
  • run all integration tests with JDK9 (/)

Grails:

  • use clover 4.3.1 in dependencies (/)

Jenkins:

Hudson:

  • use clover 4.3.1 in plugin dependencies (/)
  • upgrade to Hudson 3.3.0 and JDK7 (/)
  • build with JDK9 - out of scope, similar case as for Jenkins

Gradle:

  • out of scope, we don't support this plugin yet

Bamboo:

  • out of scope - integration with openclover is done manually - just bump version number of clover artifact

AspectJ:

  • out of scope -> this is a niche plugin, no rush to update - it's better to update with JDK11 support

Comments (23)

  1. Log in to comment