From 97ab907b60323da92d3b0e272088e124d680133f Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Thu, 3 Feb 2022 04:43:12 +0100 Subject: [PATCH] Update documentation: JDK version 17 is officially supported --- org.jacoco.doc/docroot/doc/build.html | 9 +++++++++ org.jacoco.doc/docroot/doc/environment.html | 2 +- org.jacoco.doc/docroot/doc/faq.html | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/org.jacoco.doc/docroot/doc/build.html b/org.jacoco.doc/docroot/doc/build.html index f51d3823ba..540e29056d 100644 --- a/org.jacoco.doc/docroot/doc/build.html +++ b/org.jacoco.doc/docroot/doc/build.html @@ -93,6 +93,7 @@

Compilation and testing with different JDKs

JDK 14 JDK 15 JDK 16 + JDK 17 @@ -110,6 +111,7 @@

Compilation and testing with different JDKs

16 + 16 org.jacoco.core.test.validation.java14 @@ -125,6 +127,7 @@

Compilation and testing with different JDKs

14 14 14 + 14 org.jacoco.core.test.validation.java8 @@ -140,6 +143,7 @@

Compilation and testing with different JDKs

8 8 8 + 8 org.jacoco.core.test.validation.java7 @@ -155,6 +159,7 @@

Compilation and testing with different JDKs

7 7 7 + 7 org.jacoco.core.test.validation.groovy @@ -170,6 +175,7 @@

Compilation and testing with different JDKs

8 8 8 + 8 org.jacoco.core.test.validation.kotlin @@ -185,6 +191,7 @@

Compilation and testing with different JDKs

6 6 6 + 6 all other modules @@ -200,6 +207,7 @@

Compilation and testing with different JDKs

7 7 7 + 7 @@ -244,6 +252,7 @@

Compilation and testing with different JDKs

  • mvn clean verify -Djdk.version=14 -Dbytecode.version=14
  • mvn clean verify -Djdk.version=15 -Dbytecode.version=15
  • mvn clean verify -Djdk.version=16 -Dbytecode.version=16
  • +
  • mvn clean verify -Djdk.version=17 -Dbytecode.version=17
  • diff --git a/org.jacoco.doc/docroot/doc/environment.html b/org.jacoco.doc/docroot/doc/environment.html index d0788d728d..3249d7d6d4 100644 --- a/org.jacoco.doc/docroot/doc/environment.html +++ b/org.jacoco.doc/docroot/doc/environment.html @@ -68,7 +68,7 @@

    JRE/JDK

    The minimum supported JRE version for JaCoCo is Java 5. To guarantee compatibility JaCoCo release builds should always be executed using JDK 5. - In addition we run builds with 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 and 16 JDKs. + In addition we run builds with 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 and 17 JDKs.

    Build

    diff --git a/org.jacoco.doc/docroot/doc/faq.html b/org.jacoco.doc/docroot/doc/faq.html index 6a6ec1f253..a9a35191d8 100644 --- a/org.jacoco.doc/docroot/doc/faq.html +++ b/org.jacoco.doc/docroot/doc/faq.html @@ -45,7 +45,7 @@

    Does JaCoCo have a plug-in for [Eclipse|Netbeans|Whatever...]?

    What Java versions are supported by JaCoCo?

    - JaCoCo supports Java class files from version 1.0 to 16. However the minimum + JaCoCo supports Java class files from version 1.0 to 17. However the minimum JRE version required by the JaCoCo runtime (e.g. the agent) and the JaCoCo tools is 1.5. Also note that class files under test from version 1.6 and above have to contain valid stackmap frames.