Skip to content

Commit

Permalink
Update documentation: JDK version 18 is officially supported
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin committed Feb 3, 2022
1 parent f57ba0e commit 5654246
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
9 changes: 9 additions & 0 deletions org.jacoco.doc/docroot/doc/build.html
Expand Up @@ -94,6 +94,7 @@ <h2>Compilation and testing with different JDKs</h2>
<td>JDK 15</td>
<td>JDK 16</td>
<td>JDK 17</td>
<td>JDK 18</td>
</tr>
</thead>
<tbody>
Expand All @@ -112,6 +113,7 @@ <h2>Compilation and testing with different JDKs</h2>
<td></td>
<td>16</td>
<td>16</td>
<td>16</td>
</tr>
<tr>
<td>org.jacoco.core.test.validation.java14</td>
Expand All @@ -128,6 +130,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 @@ -144,6 +147,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 @@ -160,6 +164,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 @@ -176,6 +181,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 @@ -192,6 +198,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 @@ -208,6 +215,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 @@ -253,6 +261,7 @@ <h2>Compilation and testing with different JDKs</h2>
<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>
<li><code>mvn clean verify -Djdk.version=18 -Dbytecode.version=18</code></li>
</ul>


Expand Down
7 changes: 3 additions & 4 deletions org.jacoco.doc/docroot/doc/changes.html
Expand Up @@ -22,10 +22,9 @@ <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>JaCoCo now officially supports Java 17 and 18
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1282">#1282</a>,
<a href="https://github.com/jacoco/jacoco/issues/1198">#1198</a>).</li>
<li>Experimental support for Java 19 class files
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1264">#1264</a>).</li>
<li>Part of bytecode generated by the Java compilers for <code>assert</code>
Expand Down
3 changes: 2 additions & 1 deletion org.jacoco.doc/docroot/doc/environment.html
Expand Up @@ -68,7 +68,8 @@ <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, 16 and 17 JDKs.
In addition we run builds with 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
and 18 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 17. However the minimum
JaCoCo supports Java class files from version 1.0 to 18. 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 5654246

Please sign in to comment.