Skip to content

Commit

Permalink
Update documentation: JDK version 17 is officially supported
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin committed Feb 3, 2022
1 parent 046ba52 commit b385987
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
9 changes: 9 additions & 0 deletions org.jacoco.doc/docroot/doc/build.html
Expand Up @@ -93,6 +93,7 @@ <h2>Compilation and testing with different JDKs</h2>
<td>JDK 14</td>
<td>JDK 15</td>
<td>JDK 16</td>
<td>JDK 17</td>
</tr>
</thead>
<tbody>
Expand All @@ -110,6 +111,7 @@ <h2>Compilation and testing with different JDKs</h2>
<td></td>
<td></td>
<td>16</td>
<td>16</td>
</tr>
<tr>
<td>org.jacoco.core.test.validation.java14</td>
Expand All @@ -125,6 +127,7 @@ <h2>Compilation and testing with different JDKs</h2>
<td>14</td>
<td>14</td>
<td>14</td>
<td>14</td>
</tr>
<tr>
<td>org.jacoco.core.test.validation.java8</td>
Expand All @@ -140,6 +143,7 @@ <h2>Compilation and testing with different JDKs</h2>
<td>8</td>
<td>8</td>
<td>8</td>
<td>8</td>
</tr>
<tr>
<td>org.jacoco.core.test.validation.java7</td>
Expand All @@ -155,6 +159,7 @@ <h2>Compilation and testing with different JDKs</h2>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
</tr>
<tr>
<td>org.jacoco.core.test.validation.groovy</td>
Expand All @@ -170,6 +175,7 @@ <h2>Compilation and testing with different JDKs</h2>
<td>8</td>
<td>8</td>
<td>8</td>
<td>8</td>
</tr>
<tr>
<td>org.jacoco.core.test.validation.kotlin</td>
Expand All @@ -185,6 +191,7 @@ <h2>Compilation and testing with different JDKs</h2>
<td>6</td>
<td>6</td>
<td>6</td>
<td>6</td>
</tr>
<tr>
<td>all other modules</td>
Expand All @@ -200,6 +207,7 @@ <h2>Compilation and testing with different JDKs</h2>
<td>7</td>
<td>7</td>
<td>7</td>
<td>7</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -244,6 +252,7 @@ <h2>Compilation and testing with different JDKs</h2>
<li><code>mvn clean verify -Djdk.version=14 -Dbytecode.version=14</code></li>
<li><code>mvn clean verify -Djdk.version=15 -Dbytecode.version=15</code></li>
<li><code>mvn clean verify -Djdk.version=16 -Dbytecode.version=16</code></li>
<li><code>mvn clean verify -Djdk.version=17 -Dbytecode.version=17</code></li>
</ul>


Expand Down
2 changes: 2 additions & 0 deletions org.jacoco.doc/docroot/doc/changes.html
Expand Up @@ -22,6 +22,8 @@ <h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2>

<h3>New Features</h3>
<ul>
<li>JaCoCo now officially supports Java 17
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1282">#1282</a>).</li>
<li>Experimental support for Java 18 class files
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1198">#1198</a>).</li>
<li>Experimental support for Java 19 class files
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.doc/docroot/doc/environment.html
Expand Up @@ -68,7 +68,7 @@ <h3>JRE/JDK</h3>
<p>
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.
</p>

<h3>Build</h3>
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.doc/docroot/doc/faq.html
Expand Up @@ -45,7 +45,7 @@ <h3>Does JaCoCo have a plug-in for [Eclipse|Netbeans|Whatever...]?</h3>

<h3>What Java versions are supported by JaCoCo?</h3>
<p>
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.
Expand Down

0 comments on commit b385987

Please sign in to comment.