8000 Update documentation: JDK versions 17 and 18 are officially supported… · jacoco/jacoco@7e516b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e516b1

Browse files
authored
Update documentation: JDK versions 17 and 18 are officially supported (#1282)
1 parent c54fa8a commit 7e516b1

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

org.jacoco.doc/docroot/doc/build.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ <h2>Compilation and testing with different JDKs</h2>
9393
<td>JDK 14</td>
9494
<td>JDK 15</td>
9595
<td>JDK 16</td>
96+
<td>JDK 17</td>
97+
<td>JDK 18</td>
9698
</tr>
9799
</thead>
98100
<tbody>
@@ -110,6 +112,8 @@ <h2>Compilation and testing with different JDKs</h2>
110112
<td></td>
111113
<td></td>
112114
<td>16</td>
115+
<td>16</td>
116+
<td>16</td>
113117
</tr>
114118
<tr>
115119
<td>org.jacoco.core.test.validation.java14</td>
@@ -125,6 +129,8 @@ <h2>Compilation and testing with different JDKs</h2>
125129
<td>14</td>
126130
<td>14</td>
127131
<td>14</td>
132+
<td>14</td>
133+
<td>14</td>
128134
</tr>
129135
<tr>
130136
<td>org.jacoco.core.test.validation.java8</td>
@@ -140,6 +146,8 @@ <h2>Compilation and testing with different JDKs</h2>
140146
<td>8</td>
141147
<td>8</td>
142148
<td>8</td>
149+
<td>8</td>
150+
<td>8</td>
143151
</tr>
144152
<tr>
145153
<td>org.jacoco.core.test.validation.java7</td>
@@ -155,6 +163,8 @@ <h2>Compilation and testing with different JDKs</h2>
155163
<td>7</td>
156164
<td>7</td>
157165
<td>7</td>
166+
<td>7</td>
167+
<td>7</td>
158168
</tr>
159169
<tr>
160170
<td>org.jacoco.core.test.validation.groovy</td>
@@ -170,6 +180,8 @@ <h2>Compilation and testing with different JDKs</h2>
170180
<td>8</td>
171181
<td>8</td>
172182
<td>8</td>
183+
<td>8</td>
184+
<td>8</td>
173185
</tr>
174186
<tr>
175187
<td>org.jacoco.core.test.validation.kotlin</td>
@@ -185,6 +197,8 @@ <h2>Compilation and testing with different JDKs</h2>
185197
<td>6</td>
186198
<td>6</td>
187199
<td>6</td>
200+
<td>6</td>
201+
<td>6</td>
188202
</tr>
189203
<tr>
190204
<td>all other modules</td>
@@ -200,6 +214,8 @@ <h2>Compilation and testing with different JDKs</h2>
200214
<td>7</td>
201215
<td>7</td>
202216
<td>7</td>
217+
<td>7</td>
218+
<td>7</td>
203219
</tr>
204220
</tbody>
205221
</table>
@@ -244,6 +260,8 @@ <h2>Compilation and testing with different JDKs</h2>
244260
<li><code>mvn clean verify -Djdk.version=14 -Dbytecode.version=14</code></li>
245261
<li><code>mvn clean verify -Djdk.version=15 -Dbytecode.version=15</code></li>
246262
<li><code>mvn clean verify -Djdk.version=16 -Dbytecode.version=16</code></li>
263+
<li><code>mvn clean verify -Djdk.version=17 -Dbytecode.version=17</code></li>
264+
<li><code>mvn clean verify -Djdk.version=18 -Dbytecode.version=18</code></li>
247265
</ul>
248266

249267

org.jacoco.doc/docroot/doc/changes.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ <h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2>
2222

2323
<h3>New Features</h3>
2424
<ul>
25-
<li>Experimental support for Java 18 class files
26-
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1198">#1198</a>).</li>
25+
<li>JaCoCo now officially supports Java 17 and 18
26+
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1282">#1282</a>,
27+
<a href="https://github.com/jacoco/jacoco/issues/1198">#1198</a>).</li>
2728
<li>Experimental support for Java 19 class files
2829
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1264">#1264</a>).</li>
2930
<li>Part of bytecode generated by the Java compilers for <code>assert</code>

org.jacoco.doc/docroot/doc/environment.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ <h3>JRE/JDK</h3>
6868
<p>
6969
The minimum supported JRE version for JaCoCo is Java 5. To guarantee
7070
compatibility JaCoCo release builds should always be executed using JDK 5.
71-
In addition we run builds with 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 and 16 JDKs.
71+
In addition we run builds with 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
72+
and 18 JDKs.
7273
</p>
7374

7475
<h3>Build</h3>

org.jacoco.doc/docroot/doc/faq.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h3>Does JaCoCo have a plug-in for [Eclipse|Netbeans|Whatever...]?</h3>
4545

4646
<h3>What Java versions are supported by JaCoCo?</h3>
4747
< 3269 p>
48-
JaCoCo supports Java class files from version 1.0 to 16. However the minimum
48+
JaCoCo supports Java class files from version 1.0 to 18. However the minimum
4949
JRE version required by the JaCoCo runtime (e.g. the agent) and the JaCoCo
5050
tools is 1.5. Also note that class files under test from version 1.6 and above
5151
have to contain valid stackmap frames.

0 commit comments

Comments
 (0)
0