Skip to content

Commit 9077178

Browse files
authored
Happy birthday Java 22! (#1596)
1 parent 7edd1b5 commit 9077178

4 files changed

Lines changed: 16 additions & 3 deletions

File tree

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ <h2>Compilation and testing with different JDKs</h2>
9898
<td>JDK 19</td>
9999
<td>JDK 20</td>
100100
<td>JDK 21</td>
101+
<td>JDK 22</td>
101102
</tr>
102103
</thead>
103104
<tbody>
@@ -120,6 +121,7 @@ <h2>Compilation and testing with different JDKs</h2>
120121
<td></td>
121122
<td></td>
122123
<td>21</td>
124+
<td>21</td>
123125
</tr>
124126
<tr>
125127
<td>org.jacoco.core.test.validation.java16</td>
@@ -140,6 +142,7 @@ <h2>Compilation and testing with different JDKs</h2>
140142
<td>16</td>
141143
<td>16</td>
142144
<td>16</td>
145+
<td>16</td>
143146
</tr>
144147
<tr>
145148
<td>org.jacoco.core.test.validation.java14</td>
@@ -160,6 +163,7 @@ <h2>Compilation and testing with different JDKs</h2>
160163
<td>14</td>
161164
<td>14</td>
162165
<td>14</td>
166+
<td>14</td>
163167
</tr>
164168
<tr>
165169
<td>org.jacoco.core.test.validation.java8</td>
@@ -180,6 +184,7 @@ <h2>Compilation and testing with different JDKs</h2>
180184
<td>8</td>
181185
<td>8</td>
182186
<td>8</td>
187+
<td>8</td>
183188
</tr>
184189
<tr>
185190
<td>org.jacoco.core.test.validation.java7</td>
@@ -200,6 +205,7 @@ <h2>Compilation and testing with different JDKs</h2>
200205
<td>7</td>
201206
<td>7</td>
202207
<td>7</td>
208+
<td>7</td>
203209
</tr>
204210
<tr>
205211
<td>org.jacoco.core.test.validation.groovy</td>
@@ -220,6 +226,7 @@ <h2>Compilation and testing with different JDKs</h2>
220226
<td>8</td>
221227
<td>8</td>
222228
<td>8</td>
229+
<td>8</td>
223230
</tr>
224231
<tr>
225232
<td>org.jacoco.core.test.validation.kotlin</td>
@@ -240,6 +247,7 @@ <h2>Compilation and testing with different JDKs</h2>
240247
<td>6</td>
241248
<td>6</td>
242249
<td>6</td>
250+
<td>6</td>
243251
</tr>
244252
<tr>
245253
<td>org.jacoco.core.test.validation.scala</td>
@@ -260,6 +268,7 @@ <h2>Compilation and testing with different JDKs</h2>
260268
<td>8</td>
261269
<td>8</td>
262270
<td>8</td>
271+
<td>8</td>
263272
</tr>
264273
<tr>
265274
<td>all other modules</td>
@@ -280,6 +289,7 @@ <h2>Compilation and testing with different JDKs</h2>
280289
<td>7</td>
281290
<td>7</td>
282291
<td>7</td>
292+
<td>7</td>
283293
</tr>
284294
</tbody>
285295
</table>
@@ -330,7 +340,8 @@ <h2>Compilation and testing with different JDKs</h2>
330340
<li><code>mvn clean verify -Djdk.version=19 -Dbytecode.version=19</code></li>
331341
<li><code>mvn clean verify -Djdk.version=20 -Dbytecode.version=20</code></li>
332342
<li><code>mvn clean verify -Djdk.version=21 -Dbytecode.version=21</code></li>
333-
<li><code>mvn clean verify -Djdk.version=20 -Dbytecode.version=21 -Decj</code></li>
343+
<li><code>mvn clean verify -Djdk.version=21 -Dbytecode.version=21 -Decj</code></li>
344+
<li><code>mvn clean verify -Djdk.version=22 -Dbytecode.version=22</code></li>
334345
</ul>
335346

336347

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

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

2323
<h3>New Features</h3>
2424
<ul>
25+
<li>JaCoCo now officially supports Java 22
26+
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1596">#1596</a>).</li>
2527
<li>Experimental support for Java 23 class files
2628
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1553">#1553</a>).</li>
2729
</ul>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h3>JRE/JDK</h3>
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.
7171
In addition we run builds with 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
72-
18, 19, 20 and 21 JDKs.
72+
18, 19, 20, 21 and 22 JDKs.
7373
</p>
7474

7575
<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
<p>
48-
JaCoCo supports Java class files from version 1.0 to 21. However the minimum
48+
JaCoCo supports Java class files from version 1.0 to 22. 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)