From 907717832435f5085b67d02e1eeec5b63b0f415b Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov <138671+Godin@users.noreply.github.com> Date: Wed, 20 Mar 2024 19:46:11 +0100 Subject: [PATCH] Happy birthday Java 22! (#1596) --- org.jacoco.doc/docroot/doc/build.html | 13 ++++++++++++- org.jacoco.doc/docroot/doc/changes.html | 2 ++ org.jacoco.doc/docroot/doc/environment.html | 2 +- org.jacoco.doc/docroot/doc/faq.html | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/org.jacoco.doc/docroot/doc/build.html b/org.jacoco.doc/docroot/doc/build.html index ef7297d4d1..8cca1348e6 100644 --- a/org.jacoco.doc/docroot/doc/build.html +++ b/org.jacoco.doc/docroot/doc/build.html @@ -98,6 +98,7 @@

Compilation and testing with different JDKs

JDK 19 JDK 20 JDK 21 + JDK 22 @@ -120,6 +121,7 @@

Compilation and testing with different JDKs

21 + 21 org.jacoco.core.test.validation.java16 @@ -140,6 +142,7 @@

Compilation and testing with different JDKs

16 16 16 + 16 org.jacoco.core.test.validation.java14 @@ -160,6 +163,7 @@

Compilation and testing with different JDKs

14 14 14 + 14 org.jacoco.core.test.validation.java8 @@ -180,6 +184,7 @@

Compilation and testing with different JDKs

8 8 8 + 8 org.jacoco.core.test.validation.java7 @@ -200,6 +205,7 @@

Compilation and testing with different JDKs

7 7 7 + 7 org.jacoco.core.test.validation.groovy @@ -220,6 +226,7 @@

Compilation and testing with different JDKs

8 8 8 + 8 org.jacoco.core.test.validation.kotlin @@ -240,6 +247,7 @@

Compilation and testing with different JDKs

6 6 6 + 6 org.jacoco.core.test.validation.scala @@ -260,6 +268,7 @@

Compilation and testing with different JDKs

8 8 8 + 8 all other modules @@ -280,6 +289,7 @@

Compilation and testing with different JDKs

7 7 7 + 7 @@ -330,7 +340,8 @@

Compilation and testing with different JDKs

  • mvn clean verify -Djdk.version=19 -Dbytecode.version=19
  • mvn clean verify -Djdk.version=20 -Dbytecode.version=20
  • mvn clean verify -Djdk.version=21 -Dbytecode.version=21
  • -
  • mvn clean verify -Djdk.version=20 -Dbytecode.version=21 -Decj
  • +
  • mvn clean verify -Djdk.version=21 -Dbytecode.version=21 -Decj
  • +
  • mvn clean verify -Djdk.version=22 -Dbytecode.version=22
  • diff --git a/org.jacoco.doc/docroot/doc/changes.html b/org.jacoco.doc/docroot/doc/changes.html index b07771756b..6e366abe17 100644 --- a/org.jacoco.doc/docroot/doc/changes.html +++ b/org.jacoco.doc/docroot/doc/changes.html @@ -22,6 +22,8 @@

    Snapshot Build @qualified.bundle.version@ (@build.date@)

    New Features

    diff --git a/org.jacoco.doc/docroot/doc/environment.html b/org.jacoco.doc/docroot/doc/environment.html index 74e6447819..cc787d2405 100644 --- a/org.jacoco.doc/docroot/doc/environment.html +++ b/org.jacoco.doc/docroot/doc/environment.html @@ -69,7 +69,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, 16, 17 - 18, 19, 20 and 21 JDKs. + 18, 19, 20, 21 and 22 JDKs.

    Build

    diff --git a/org.jacoco.doc/docroot/doc/faq.html b/org.jacoco.doc/docroot/doc/faq.html index 416b41ebc1..54ba89885e 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 21. However the minimum + JaCoCo supports Java class files from version 1.0 to 22. 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.