Debian Codegraph @

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

raw
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <link rel="stylesheet" href="resources/doc.css" charset="UTF-8" type="text/css" />
7 <link rel="shortcut icon" href="resources/report.gif" type="image/gif" />
8 <title>JaCoCo - Change History</title>
9 </head>
10 <body>
11
12 <div class="breadcrumb">
13 <a href="../index.html" class="el_report">JaCoCo</a> &gt;
14 <a href="index.html" class="el_group">Documentation</a> &gt;
15 <span class="el_source">Change History</span>
16 </div>
17 <div id="content">
18
19 <h1>Change History</h1>
20
21 <h2>Release 0.8.14 (2025/10/11)</h2>
22
23 <h3>New Features</h3>
24 <ul>
25 <li>JaCoCo now officially supports Java 25
26 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1950">#1950</a>).</li>
27 <li>Experimental support for Java 26 class files
28 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1807">#1870</a>).</li>
29 <li>Branches added by the Kotlin compiler for default argument number 33 or higher
30 are filtered out during generation of report
31 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1655">#1655</a>).</li>
32 <li>Part of bytecode generated by the Kotlin compiler for elvis operator that
33 follows safe call operator is filtered out during generation of report
34 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1814">#1814</a>,
35 <a href="https://github.com/jacoco/jacoco/issues/1954">#1954</a>).</li>
36 <li>Part of bytecode generated by the Kotlin compiler for more cases of chained
37 safe call operators is filtered out during generation of report
38 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1956">#1956</a>).</li>
39 <li>Part of bytecode generated by the Kotlin compiler for invocations of
40 <code>suspendCoroutineUninterceptedOrReturn</code> intrinsic is filtered out
41 during generation of report
42 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1929">#1929</a>).</li>
43 <li>Part of bytecode generated by the Kotlin compiler for suspending lambdas with
44 parameters is filtered out during generation of report
45 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1945">#1945</a>).</li>
46 <li>Part of bytecode generated by the Kotlin compiler for suspending functions and
47 lambdas with suspension points that return inline value class is filtered out
48 during generation of report
49 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1871">#1871</a>).</li>
50 <li>Part of bytecode generated by the Kotlin Compose compiler plugin for pausable
51 composition is filtered out during generation of report
52 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1911">#1911</a>).</li>
53 <li>Methods generated by the Kotlin serialization compiler plugin are filtered out
54 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1885">#1885</a>,
55 <a href="https://github.com/jacoco/jacoco/issues/1970">#1970</a>,
56 <a href="https://github.com/jacoco/jacoco/issues/1971">#1971</a>).</li>
57 </ul>
58
59 <h3>Fixed bugs</h3>
60 <ul>
61 <li>Fixed handling of implicit <code>else</code> clause of <code>when</code> with
62 <code>String</code> subject in Kotlin
63 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1813">#1813</a>,
64 <a href="https://github.com/jacoco/jacoco/issues/1940">#1940</a>).</li>
65 <li>Fixed handling of implicit <code>default</code> clause of <code>switch</code>
66 by <code>String</code> in Java when compiled by ECJ
67 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1813">#1813</a>,
68 <a href="https://github.com/jacoco/jacoco/issues/1940">#1940</a>).</li>
69 <li>Fixed handling of exceptions in chains of safe call operators in Kotlin
70 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1819">#1819</a>).</li>
71 </ul>
72
73 <h3>Non-functional Changes</h3>
74 <ul>
75 <li>JaCoCo now depends on ASM 9.9
76 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1965">#1965</a>).</li>
77 </ul>
78
79 <h2>Release 0.8.13 (2025/04/02)</h2>
80
81 <h3>New Features</h3>
82 <ul>
83 <li>JaCoCo now officially supports Java 23 and Java 24
84 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1757">#1757</a>,
85 <a href="https://github.com/jacoco/jacoco/issues/1631">#1631</a>,
86 <a href="https://github.com/jacoco/jacoco/issues/1867">#1867</a>).</li>
87 <li>Experimental support for Java 25 class files
88 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1807">#1807</a>).</li>
89 <li>Calculation of line coverage for Kotlin <code>inline</code> functions
90 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1670">#1670</a>).</li>
91 <li>Calculation of line coverage for Kotlin <code>inline</code> functions
92 with <code>reified</code> type parameter
93 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1670">#1670</a>,
94 <a href="https://github.com/jacoco/jacoco/issues/1700">#1700</a>).</li>
95 <li>Calculation of coverage for Kotlin <code>JvmSynthetic</code> functions
96 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1700">#1700</a>).</li>
97 <li>Part of bytecode generated by the Kotlin Compose compiler plugin is
98 filtered out during generation of report
99 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1616">#1616</a>).</li>
100 <li>Part of bytecode generated by the Kotlin compiler for inline value classes is
101 filtered out during generation of report
102 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1475">#1475</a>).</li>
103 <li>Part of bytecode generated by the Kotlin compiler for suspending lambdas
104 without suspension points is filtered out during generation of report
105 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1283">#1283</a>).</li>
106 <li>Part of bytecode generated by the Kotlin compiler for <code>when</code>
107 expressions and statements with nullable enum subject is filtered out during
108 generation of report
109 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1774">#1774</a>).</li>
110 <li>Part of bytecode generated by the Kotlin compiler for <code>when</code>
111 expressions and statements with nullable String subject is filtered out during
112 generation of report
113 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1769">#1769</a>).</li>
114 <li>Part of bytecode generated by the Kotlin compiler for chains of safe call
115 operators is filtered out during generation of report
116 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1810">#1810</a>,
117 <a href="https://github.com/jacoco/jacoco/issues/1818">#1818</a>).</li>
118 <li>Method <code>getEntries</code> generated by the Kotlin compiler for enum
119 classes is filtered out during generation of report
120 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1625">#1625</a>).</li>
121 <li>Methods generated by the Kotlin compiler for constructors and functions
122 with <code>JvmOverloads</code> annotation are filtered out
123 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1768">#1768</a>).</li>
124 </ul>
125
126 <h3>Fixed bugs</h3>
127 <ul>
128 <li>Fixed interpretation of Kotlin SMAP
129 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1525">#1525</a>).</li>
130 <li>File extensions are preserved in HTML report in case of clashes of normalized
131 file names
132 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1660">#1660</a>).</li>
133 </ul>
134
135 <h3>Non-functional Changes</h3>
136 <ul>
137 <li>JaCoCo build now uses Maven Wrapper and requires at least Maven 3.9.9
138 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1708">#1708</a>,
139 <a href="https://github.com/jacoco/jacoco/issues/1707">#1707</a>,
140 <a href="https://github.com/jacoco/jacoco/issues/1681">#1681</a>).</li>
141 <li>JaCoCo now depends on ASM 9.8
142 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1862">#1862</a>).</li>
143 <li>More context information when <code>IllegalArgumentException</code> occurs
144 during reading of zip file
145 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1833">#1833</a>).</li>
146 </ul>
147
148 <h2>Release 0.8.12 (2024/03/31)</h2>
149
150 <h3>New Features</h3>
151 <ul>
152 <li>JaCoCo now officially supports Java 22
153 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1596">#1596</a>).</li>
154 <li>Experimental support for Java 23 class files
155 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1553">#1553</a>).</li>
156 </ul>
157
158 <h3>Fixed bugs</h3>
159 <ul>
160 <li>Branches added by the Kotlin compiler for functions with default arguments and
161 having more than 32 parameters are filtered out during generation of report
162 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1556">#1556</a>).</li>
163 <li>Branch added by the Kotlin compiler version 1.5.0 and above for reading from
164 <code>lateinit</code> property is filtered out during generation of report
165 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1568">#1568</a>).</li>
166 </ul>
167
168 <h3>Non-functional Changes</h3>
169 <ul>
170 <li>JaCoCo now depends on ASM 9.7
171 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1600">#1600</a>).</li>
172 </ul>
173
174 <h2>Release 0.8.11 (2023/10/14)</h2>
175
176 <h3>New Features</h3>
177 <ul>
178 <li>JaCoCo now officially supports Java 21
179 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1520">#1520</a>).</li>
180 <li>Experimental support for Java 22 class files
181 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1479">#1479</a>).</li>
182 <li>Part of bytecode generated by the Java compilers for exhaustive switch
183 expressions is filtered out during generation of report
184 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1472">#1472</a>).</li>
185 <li>Part of bytecode generated by the Java compilers for record patterns is
186 filtered out during generation of report
187 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1473">#1473</a>).</li>
188 </ul>
189
190 <h3>Fixed bugs</h3>
191 <ul>
192 <li>Instrumentation should not cause <code>VerifyError</code> when the last
193 local variable of method parameters is overridden in the method body to
194 store a value of type long or double
195 (GitHub <a href="https://github.com/jacoco/jacoco/issues/893">#893</a>).</li>
196 <li>Restore exec file compatibility with versions from 0.7.5 to 0.8.8
197 in case of class files with zero line numbers
198 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1492">#1492</a>).</li>
199 </ul>
200
201 <h3>Non-functional Changes</h3>
202 <ul>
203 <li>jacoco-maven-plugin now requires at least Java 8
204 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1466">#1466</a>,
205 <a href="https://github.com/jacoco/jacoco/issues/1468">#1468</a>).</li>
206 <li>JaCoCo build now requires at least Maven 3.5.4
207 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1467">#1467</a>).</li>
208 <li>Maven 3.9.2 should not produce warnings for jacoco-maven-plugin
209 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1468">#1468</a>).</li>
210 <li>JaCoCo build now requires JDK 17
211 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1482">#1482</a>).</li>
212 <li>JaCoCo now depends on ASM 9.6
213 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1518">#1518</a>).</li>
214 </ul>
215
216 <h2>Release 0.8.10 (2023/04/24)</h2>
217
218 <h3>Fixed bugs</h3>
219 <ul>
220 <li>Agent should not require configuration of permissions for
221 <code>SecurityManager</code> outside of its <code>codeBase</code>
222 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1425">#1425</a>).</li>
223 </ul>
224
225 <h2>Release 0.8.9 (2023/03/31)</h2>
226
227 <h3>New Features</h3>
228 <ul>
229 <li>JaCoCo now officially supports Java 19 and 20
230 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1371">#1371</a>,
231 <a href="https://github.com/jacoco/jacoco/issues/1386">#1386</a>).</li>
232 <li>Experimental support for Java 21 class files
233 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1386">#1386</a>).</li>
234 <li>Add parameter to include the current project in the <code>report-aggregate</code>
235 Maven goal
236 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1007">#1007</a>).</li>
237 <li>Component accessors generated by the Java compilers for records are filtered
238 out during generation of report. Contributed by Tesla Zhang
239 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1393">#1393</a>).</li>
240 </ul>
241
242 <h3>Fixed bugs</h3>
243 <ul>
244 <li>Agent should not open <code>java.lang</code> package to unnamed module of the
245 application class loader
246 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1334">#1334</a>).</li>
247 </ul>
248
249 <h3>Non-functional Changes</h3>
250 <ul>
251 <li>JaCoCo now depends on ASM 9.5
252 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1299">#1299</a>,
253 <a href="https://github.com/jacoco/jacoco/issues/1368">#1368</a>,
254 <a href="https://github.com/jacoco/jacoco/issues/1416">#1416</a>).</li>
255 <li>JaCoCo build now requires JDK 11
256 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1413">#1413</a>).</li>
257 </ul>
258
259 <h2>Release 0.8.8 (2022/04/05)</h2>
260
261 <h3>New Features</h3>
262 <ul>
263 <li>JaCoCo now officially supports Java 17 and 18
264 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1282">#1282</a>,
265 <a href="https://github.com/jacoco/jacoco/issues/1198">#1198</a>).</li>
266 <li>Experimental support for Java 19 class files
267 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1264">#1264</a>).</li>
268 <li>Part of bytecode generated by the Java compilers for <code>assert</code>
269 statement is filtered out during generation of report
270 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1196">#1196</a>).</li>
271 <li>Branch added by the Kotlin compiler version 1.6.0 and above for "unsafe" cast
272 operator is filtered out during generation of report
273 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1266">#1266</a>).</li>
274 <li>Improved support for multiple JaCoCo runtimes in the same VM
275 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1057">#1057</a>).</li>
276 </ul>
277
278 <h3>Fixed bugs</h3>
279 <ul>
280 <li>Fixed <code>NullPointerException</code> during filtering
281 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1189">#1189</a>).</li>
282 <li>Fix range for debug symbols of method parameters
283 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1246">#1246</a>).</li>
284 </ul>
285
286 <h3>Non-functional Changes</h3>
287 <ul>
288 <li>JaCoCo now depends on ASM 9.2
289 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1206">#1206</a>).</li>
290 <li>Messages of exceptions occurring during analysis or instrumentation now include
291 JaCoCo version
292 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1217">#1217</a>).</li>
293 </ul>
294
295 <h2>Release 0.8.7 (2021/05/04)</h2>
296
297 <h3>New Features</h3>
298 <ul>
299 <li>JaCoCo now officially supports Java 15 and 16
300 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1094">#1094</a>,
301 <a href="https://github.com/jacoco/jacoco/issues/1097">#1097</a>,
302 <a href="https://github.com/jacoco/jacoco/issues/1176">#1176</a>).</li>
303 <li>Experimental support for Java 17 class files
304 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1132">#1132</a>).</li>
305 <li>New <code>formats</code> parameter for Maven report goals to specify the
306 generated report formats. Contributed by troosan.
307 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1175">#1175</a>).</li>
308 <li>Branch added by the Kotlin compiler version 1.4.0 and above for "unsafe" cast
309 operator is filtered out during generation of report
310 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1143">#1143</a>,
311 <a href="https://github.com/jacoco/jacoco/issues/1178">#1178</a>).</li>
312 <li><code>synthetic</code> methods added by the Kotlin compiler version 1.5.0 and
313 above for <code>private</code> suspending functions are filtered out
314 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1174">#1174</a>).</li>
315 <li>Branches added by the Kotlin compiler version 1.4.20 and above for suspending
316 lambdas are filtered out during generation of report
317 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1149">#1149</a>).</li>
318 <li>Branches added by the Kotlin compiler version 1.5.0 and above for functions
319 with default arguments are filtered out during generation of report
320 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1162">#1162</a>).</li>
321 <li>Branch added by the Kotlin compiler version 1.5.0 and above for reading from
322 <code>lateinit</code> property is filtered out during generation of report
323 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1166">#1166</a>).</li>
324 <li>Additional bytecode generated by the Kotlin compiler version 1.5.0 and above
325 for <code>when</code> expressions on <code>kotlin.String</code> values
326 is filtered out during generation of report
327 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1172">#1172</a>).</li>
328 <li>Improved filtering of bytecode generated by Kotlin compiler versions below
329 1.5.0 for <code>when</code> expressions on <code>kotlin.String</code> values
330 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1156">#1156</a>).</li>
331 </ul>
332
333 <h3>Fixed bugs</h3>
334 <ul>
335 <li>Fixed parsing of SMAP generated by Kotlin compiler version 1.5.0 and above
336 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1164">#1164</a>).</li>
337 </ul>
338
339 <h3>Non-functional Changes</h3>
340 <ul>
341 <li>JaCoCo now depends on ASM 9.1
342 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1094">#1094</a>,
343 <a href="https://github.com/jacoco/jacoco/issues/1097">#1097</a>,
344 <a href="https://github.com/jacoco/jacoco/issues/1153">#1153</a>).</li>
345 <li>Maven plug-in has no dependency on <code>maven-reporting-impl</code> any more
346 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1121">#1121</a>).</li>
347 </ul>
348
349 <h2>Release 0.8.6 (2020/09/15)</h2>
350
351 <h3>New Features</h3>
352 <ul>
353 <li>JaCoCo now officially supports Java 14.</li>
354 <li>Experimental support for Java 15 class files
355 (GitHub <a href="https://github.com/jacoco/jacoco/issues/992">#992</a>).</li>
356 <li>Experimental support for Java 16 class files
357 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1059">#1059</a>).</li>
358 <li>Methods <code>toString</code>, <code>hashCode</code> and <code>equals</code>
359 generated by compiler for records are filtered out during generation of report
360 (GitHub <a href="https://github.com/jacoco/jacoco/issues/990">#990</a>).</li>
361 <li>Bridge methods are filtered out during generation of report
362 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1010">#1010</a>).</li>
363 <li>Methods generated by Kotlin compiler for non-overridden non-abstract methods
364 of interfaces are filtered out during generation of report
365 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1012">#1012</a>).</li>
366 <li>Branches added by the Kotlin compiler version 1.3.60 for suspending functions
367 with tail call optimization are filtered out during generation of report
368 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1016">#1016</a>).</li>
369 </ul>
370
371 <h3>Fixed bugs</h3>
372 <ul>
373 <li>Compression method of zip entries is now preserved when instrumenting archives.
374 This allows to use JaCoCo with frameworks that expect uncompressed entries
375 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1018">#1018</a>).</li>
376 </ul>
377
378 <h3>Non-functional Changes</h3>
379 <ul>
380 <li>Support for Pack200 was removed in JDK 14. JaCoCo will now throw a detailed
381 exception when Pack200 archives are processed with the latest JDKs
382 (GitHub <a href="https://github.com/jacoco/jacoco/issues/984">#984</a>).</li>
383 <li>JaCoCo now depends on ASM 8.0.1
384 (GitHub <a href="https://github.com/jacoco/jacoco/issues/1032">#1032</a>,
385 <a href="https://github.com/jacoco/jacoco/issues/1043">#1043</a>).</li>
386 </ul>
387
388 <h3>API Changes</h3>
389 <ul>
390 <li><code>URLStreamHandlerRuntime</code> removed
391 (GitHub <a href="https://github.com/jacoco/jacoco/issues/471">#471</a>).</li>
392 </ul>
393
394 <h2>Release 0.8.5 (2019/10/11)</h2>
395
396 <h3>New Features</h3>
397 <ul>
398 <li>JaCoCo now officially supports Java 13</li>
399 <li>Experimental support for Java 14 class files
400 (GitHub <a href="https://github.com/jacoco/jacoco/issues/897">#897</a>).</li>
401 <li>Branches added by the Kotlin compiler for <code>open</code> functions with
402 default arguments are filtered out during generation of report
403 (GitHub <a href="https://github.com/jacoco/jacoco/issues/887">#887</a>).</li>
404 </ul>
405
406 <h3>Fixed bugs</h3>
407 <ul>
408 <li><code>synthetic</code> constructors that contain values of default arguments
409 in Kotlin should not be ignored
410 (GitHub <a href="https://github.com/jacoco/jacoco/issues/888">#888</a>).</li>
411 <li>Instrumentation should update indexes of local variables in annotations
412 (GitHub <a href="https://github.com/jacoco/jacoco/issues/894">#894</a>).</li>
413 <li>Branches added by the Kotlin compiler for functions with default arguments
414 and containing arguments of type <code>long</code> or <code>double</code>
415 should be filtered out during generation of report
416 (GitHub <a href="https://github.com/jacoco/jacoco/issues/908">#908</a>).</li>
417 <li><code>synthetic</code> methods that contain bodies of anonymous functions
418 in Scala should not be ignored
419 (GitHub <a href="https://github.com/jacoco/jacoco/issues/912">#912</a>).</li>
420 <li>To avoid failures with invalid class files report generation now checks
421 that source references are actually files
422 (GitHub <a href="https://github.com/jacoco/jacoco/issues/941">#941</a>).</li>
423 <li><code>NullPointerException</code> during filtering
424 (GitHub <a href="https://github.com/jacoco/jacoco/issues/942">#942</a>,
425 <a href="https://github.com/jacoco/jacoco/issues/944">#944</a>).</li>
426 </ul>
427
428 <h3>Non-functional Changes</h3>
429 <ul>
430 <li>JaCoCo now distributed under the terms and conditions of the
431 Eclipse Public License Version 2.0
432 (GitHub <a href="https://github.com/jacoco/jacoco/issues/943">#943</a>).</li>
433 <li>Prevent startup when JaCoCo runtime cannot be initialized to avoid
434 subsequent faults
435 (GitHub <a href="https://github.com/jacoco/jacoco/issues/910">#910</a>).</li>
436 <li>JaCoCo now depends on ASM 7.2
437 (GitHub <a href="https://github.com/jacoco/jacoco/issues/947">#947</a>).</li>
438 </ul>
439
440 <h3>API Changes</h3>
441 <ul>
442 <li>The coverage check API and tools (Ant, Maven) now report an error, when
443 a coverage ratio limit is configured outside the range [0,1] to avoid
444 common configuration mistakes
445 (GitHub <a href="https://github.com/jacoco/jacoco/issues/783">#783</a>).</li>
446 <li>Unsupported class file versions are now consistently reported as exceptions
447 by all methods of <code>Analyzer</code> and <code>Instrumenter</code> and
448 thus also during report generation and offline instrumentation
449 (GitHub <a href="https://github.com/jacoco/jacoco/issues/952">#952</a>).</li>
450 </ul>
451
452 <h2>Release 0.8.4 (2019/05/08)</h2>
453
454 <h3>New Features</h3>
455 <ul>
456 <li>JaCoCo now officially supports Java 12</li>
457 <li>Instrumentation does not add synthetic field to Java 11+ class files,
458 however still adds synthetic method
459 (GitHub <a href="https://github.com/jacoco/jacoco/issues/845">#845</a>).</li>
460 <li>Branches added by the Kotlin compiler version 1.3.30 for suspending lambdas
461 and functions are filtered out during generation of report
462 (GitHub <a href="https://github.com/jacoco/jacoco/issues/849">#849</a>).</li>
463 </ul>
464
465 <h3>Fixed bugs</h3>
466 <ul>
467 <li>Fixed incorrect update of frames caused by bug in ASM library in case of
468 arrays with more than 7 dimensions
469 (GitHub <a href="https://github.com/jacoco/jacoco/issues/839">#839</a>).</li>
470 <li>Fixed regression, which was introduced in 0.8.3 -
471 <code>module-info.class</code> should be excluded from analysis to not cause
472 <code>IllegalStateException</code>
473 (GitHub <a href="https://github.com/jacoco/jacoco/issues/859">#859</a>).</li>
474 </ul>
475
476 <h3>API Changes</h3>
477 <ul>
478 <li>Methods <code>Instrumenter.instrument(org.objectweb.asm.ClassReader)</code>
479 and <code>Analyzer.analyzeClass(org.objectweb.asm.ClassReader)</code>
480 were removed
481 (GitHub <a href="https://github.com/jacoco/jacoco/issues/850">#850</a>).</li>
482 </ul>
483
484 <h3>Non-functional Changes</h3>
485 <ul>
486 <li>JaCoCo now depends on ASM 7.1
487 (GitHub <a href="https://github.com/jacoco/jacoco/issues/851">#851</a>).</li>
488 </ul>
489
490 <h2>Release 0.8.3 (2019/01/23)</h2>
491
492 <h3>New Features</h3>
493 <ul>
494 <li>jacoco-maven-plugin now requires at least Maven 3.0
495 (GitHub <a href="https://github.com/jacoco/jacoco/issues/821">#821</a>).</li>
496 <li>JaCoCo now officially supports Java 11
497 (GitHub <a href="https://github.com/jacoco/jacoco/issues/760">#760</a>).</li>
498 <li>Experimental support for Java 13 class files
499 (GitHub <a href="https://github.com/jacoco/jacoco/issues/835">#835</a>).</li>
500 <li>Branch added by the Kotlin compiler for "unsafe" cast operator is filtered
501 out during generation of report
502 (GitHub <a href="https://github.com/jacoco/jacoco/issues/761">#761</a>).</li>
503 <li>Branch added by the Kotlin compiler for not-null assertion operator is
504 filtered out during generation of report
505 (GitHub <a href="https://github.com/jacoco/jacoco/issues/815">#815</a>).</li>
506 <li>Instructions inlined by Kotlin compiler are filtered out during generation
507 of report
508 (GitHub <a href="https://github.com/jacoco/jacoco/issues/764">#764</a>).</li>
509 <li>Branches added by the Kotlin compiler for suspending lambdas and functions
510 are filtered out during generation of report
511 (GitHub <a href="https://github.com/jacoco/jacoco/issues/802">#802</a>,
512 <a href="https://github.com/jacoco/jacoco/issues/803">#803</a>,
513 <a href="https://github.com/jacoco/jacoco/issues/809">#809</a>).</li>
514 <li>Classes and methods annotated by annotation whose retention policy is
515 <code>runtime</code> or <code>class</code> and whose simple name contains
516 "Generated" (previously equality was required) are filtered out during
517 generation of report
518 (GitHub <a href="https://github.com/jacoco/jacoco/issues/822">#822</a>).</li>
519 <li>HTML report shows message when source file can't be found
520 (GitHub <a href="https://github.com/jacoco/jacoco/issues/801">#801</a>).</li>
521 <li>HTML report shows message when class has no debug information
522 (GitHub <a href="https://github.com/jacoco/jacoco/issues/818">#818</a>).</li>
523 <li>HTML report shows message when analyzed class does not match executed
524 (GitHub <a href="https://github.com/jacoco/jacoco/issues/819">#819</a>).</li>
525 <li>HTML report shows message when no class files specified and when
526 none of the analyzed classes contain code relevant for code coverage
527 (GitHub <a href="https://github.com/jacoco/jacoco/issues/833">#833</a>).</li>
528 <li>Empty class and sourcefile nodes are preserved and available in XML report
529 (GitHub <a href="https://github.com/jacoco/jacoco/issues/817">#817</a>).</li>
530 <li>Agent avoids conflicts with other agents when running on Java 9+
531 (GitHub <a href="https://github.com/jacoco/jacoco/issues/829">#829</a>).</li>
532 </ul>
533
534 <h3>Fixed Bugs</h3>
535 <ul>
536 <li><code>synthetic</code> methods that contain values of default arguments
537 in Kotlin should not be ignored
538 (GitHub <a href="https://github.com/jacoco/jacoco/issues/774">#774</a>).</li>
539 <li><code>synthetic</code> methods that represent <code>suspend</code>
540 functions in Kotlin should not be ignored
541 (GitHub <a href="https://github.com/jacoco/jacoco/issues/804">#804</a>).</li>
542 <li>Removed misleading parameters <code>includes</code> and
543 <code>excludes</code> from <code>dump</code>, <code>merge</code> and
544 <code>restore-instrumented-classes</code> goals of jacoco-maven-plugin,
545 because they have no effect
546 (GitHub <a href="https://github.com/jacoco/jacoco/issues/827">#827</a>).</li>
547 </ul>
548
549 <h3>Non-functional Changes</h3>
550 <ul>
551 <li>JaCoCo now depends on ASM 7.0
552 (GitHub <a href="https://github.com/jacoco/jacoco/issues/760">#760</a>).</li>
553 </ul>
554
555 <h2>Release 0.8.2 (2018/08/21)</h2>
556
557 <h3>New Features</h3>
558 <ul>
559 <li>Experimental support for Java 11 and Java 12 class files, including
560 JEP 12 "preview features"
561 (GitHub <a href="https://github.com/jacoco/jacoco/issues/719">#719</a>,
562 <a href="https://github.com/jacoco/jacoco/issues/738">#738</a>,
563 <a href="https://github.com/jacoco/jacoco/issues/743">#743</a>).</li>
564 <li>Branches and instructions generated by javac 11 for try-with-resources
565 statement are filtered out
566 (GitHub <a href="https://github.com/jacoco/jacoco/issues/669">#669</a>).</li>
567 <li>Synthetic classes are filtered out during generation of report
568 (GitHub <a href="https://github.com/jacoco/jacoco/issues/668">#668</a>).</li>
569 <li>Part of bytecode generated by ECJ for <code>switch</code> statements on
570 <code>java.lang.String</code> values is filtered out during generation of
571 report
572 (GitHub <a href="https://github.com/jacoco/jacoco/issues/735">#735</a>,
573 <a href="https://github.com/jacoco/jacoco/issues/741">#741</a>,
574 <a href="https://github.com/jacoco/jacoco/issues/746">#746</a>).</li>
575 <li>Methods added by the Kotlin compiler that do not have line numbers are
576 filtered out during generation of report. Idea and implementation by
577 Nikolay Krasko
578 (GitHub <a href="https://github.com/jacoco/jacoco/issues/689">#689</a>).</li>
579 <li>Branch added by the Kotlin compiler for reading from <code>lateinit</code>
580 property is filtered out during generation of report. Implementation by
581 Fabian Mastenbroek
582 (GitHub <a href="https://github.com/jacoco/jacoco/issues/707">#707</a>).</li>
583 <li>Bytecode generated by Kotlin compiler for implicit <code>else</code> of
584 <code>when</code> expressions that list all cases of <code>enum</code> or
585 <code>sealed class</code> is filtered out during generation of report
586 (GitHub <a href="https://github.com/jacoco/jacoco/issues/721">#721</a>,
587 <a href="https://github.com/jacoco/jacoco/issues/729">#729</a>,
588 <a href="https://github.com/jacoco/jacoco/issues/749">#749</a>).</li>
589 <li>Additional bytecode generated by Kotlin compiler for <code>when</code>
590 expressions on <code>kotlin.String</code> values is filtered out during
591 generation of report
592 (GitHub <a href="https://github.com/jacoco/jacoco/issues/737">#737</a>,
593 <a href="https://github.com/jacoco/jacoco/issues/746">#746</a>).</li>
594 <li>Classes and methods annotated with annotation whose retention policy
595 is <code>runtime</code> or <code>class</code> and whose simple name
596 is <code>Generated</code> are filtered out during generation of report
597 (GitHub <a href="https://github.com/jacoco/jacoco/issues/731">#731</a>).</li>
598 <li>Maven goal <code>report-aggregate</code> now also considers dependencies
599 specified using version range. Idea and implementation by Lukas Krejc
600 (GitHub <a href="https://github.com/jacoco/jacoco/issues/658">#658</a>).</li>
601 </ul>
602
603 <h3>Fixed Bugs</h3>
604 <ul>
605 <li>Don't insert stackmap frames into class files with version &lt; 1.6,
606 this fixes regression which was introduced in version 0.6.5
607 (GitHub <a href="https://github.com/jacoco/jacoco/issues/667">#667</a>).</li>
608 <li>Question mark in filter expressions now correctly matches exactly one character
609 (GitHub <a href="https://github.com/jacoco/jacoco/issues/672">#672</a>).</li>
610 <li>Part of bytecode that javac generates for <code>switch</code> statement on
611 <code>java.lang.String</code> values with a small number cases is now correctly
612 filtered out during generation of report
613 (GitHub <a href="https://github.com/jacoco/jacoco/issues/730">#730</a>).</li>
614 </ul>
615
616 <h3>Non-functional Changes</h3>
617 <ul>
618 <li>JaCoCo now depends on ASM 6.2.1
619 (GitHub <a href="https://github.com/jacoco/jacoco/issues/706">#706</a>,
620 <a href="https://github.com/jacoco/jacoco/issues/725">#725</a>).</li>
621 <li>Improved error message when already instrumented classes are used for
622 instrumentation or analysis
623 (GitHub <a href="https://github.com/jacoco/jacoco/issues/703">#703</a>).</li>
624 <li>JaCoCo build now requires at least Maven 3.3.9 and JDK 8
625 (GitHub <a href="https://github.com/jacoco/jacoco/issues/711">#711</a>).</li>
626 </ul>
627
628 <h3>API Changes</h3>
629 <ul>
630 <li>The XML report now has an optional attribute <code>sourcefilename</code>
631 on the <code>class</code> element to allow unambiguously relate classes
632 to source files. The JaCoCo DTD version has been updated to 1.1
633 (GitHub <a href="https://github.com/jacoco/jacoco/issues/702">#702</a>).</li>
634 </ul>
635
636 <h2>Release 0.8.1 (2018/03/21)</h2>
637
638 <h3>New Features</h3>
639 <ul>
640 <li>JaCoCo now supports Java 10
641 (GitHub <a href="https://github.com/jacoco/jacoco/issues/629">#629</a>).</li>
642 <li>Empty constructor without parameters in enum is filtered out during
643 generation of report
644 (GitHub <a href="https://github.com/jacoco/jacoco/issues/649">#649</a>).</li>
645 </ul>
646
647 <h2>Release 0.8.0 (2018/01/02)</h2>
648
649 <h3>New Features</h3>
650 <ul>
651 <li>JaCoCo now officially supports Java 9
652 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>).</li>
653 <li>JaCoCo now comes with a simple command line interface
654 (GitHub <a href="https://github.com/jacoco/jacoco/issues/525">#525</a>).</li>
655 <li>Limit configuration of Maven <code>check</code> goal and Ant
656 <code>check</code> element now also supports percentage values
657 (GitHub <a href="https://github.com/jacoco/jacoco/issues/534">#534</a>).</li>
658 <li>Manifests of JAR files now have <code>Automatic-Module-Name</code> for Java 9
659 (GitHub <a href="https://github.com/jacoco/jacoco/issues/565">#565</a>).</li>
660 <li>Maven aggregated reports will now also include modules of <code>runtime</code>
661 and <code>provided</code> dependencies
662 (GitHub <a href="https://github.com/jacoco/jacoco/issues/498">#498</a>,
663 <a href="https://github.com/jacoco/jacoco/issues/572">#572</a>).</li>
664 </ul>
665
666 <p>
667 During creation of reports various compiler generated artifacts are filtered
668 out, which otherwise require unnecessary and sometimes impossible tricks to
669 not have partial or missed coverage:
670 </p>
671
672 <ul>
673 <li>Methods <code>valueOf</code> and <code>values</code> of enum types
674 (GitHub <a href="https://github.com/jacoco/jacoco/issues/491">#491</a>).</li>
675 <li>Private empty no-argument constructors
676 (GitHub <a href="https://github.com/jacoco/jacoco/issues/529">#529</a>).</li>
677 <li>Methods annotated with <code>@lombok.Generated</code> to better integrate
678 with Lombok >= 1.16.14. Initial analysis and contribution by Rüdiger zu Dohna
679 (GitHub <a href="https://github.com/jacoco/jacoco/issues/513">#513</a>).</li>
680 <li>Methods annotated with <code>@groovy.transform.Generated</code> to better
681 integrate with Groovy >= 2.5.0. Thanks to Andres Almiray for adding the annotation to Groovy
682 (GitHub <a href="https://github.com/jacoco/jacoco/issues/610">#610</a>).</li>
683 <li>Part of bytecode for <code>synchronized</code> blocks
684 (GitHub <a href="https://github.com/jacoco/jacoco/issues/501">#501</a>).</li>
685 <li>Part of bytecode for try-with-resources statements
686 (GitHub <a href="https://github.com/jacoco/jacoco/issues/500">#500</a>).</li>
687 <li>Part of bytecode for <code>finally</code> blocks
688 (GitHub <a href="https://github.com/jacoco/jacoco/issues/604">#604</a>).</li>
689 <li>Part of bytecode for <code>switch</code> statements on
690 <code>java.lang.String</code> values
691 (GitHub <a href="https://github.com/jacoco/jacoco/issues/596">#596</a>).</li>
692 </ul>
693
694 <p>
695 Note: Tools that directly read <code>exec</code> files and embed JaCoCo for
696 this (such as SonarQube or Jenkins) will provide filtering functionality only
697 after they updated to this version of JaCoCo.
698 </p>
699
700 <h3>Fixed Bugs</h3>
701 <ul>
702 <li>Fixed bug in instrumentation of exception handlers, which was causing damage
703 of structured locking in certain situations and as consequence poor
704 performance of instrumented methods, analysis and fix contributed by Allen Hair
705 (GitHub <a href="https://github.com/jacoco/jacoco/issues/627">#627</a>).</li>
706 <li><code>dump</code> commands now report error when server unexpectedly
707 closes connection without sending response
708 (GitHub <a href="https://github.com/jacoco/jacoco/issues/538">#538</a>).</li>
709 <li>Reduced chance of conflict with other agents
710 (GitHub <a href="https://github.com/jacoco/jacoco/issues/555">#555</a>).</li>
711 <li>Restored Maven <code>help</code> goal that was missing in version 0.7.9
712 (GitHub <a href="https://github.com/jacoco/jacoco/issues/559">#559</a>).</li>
713 <li><code>NullPointerException</code> during offline instrumentation of
714 <code>module-info.class</code>
715 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>,
716 GitHub <a href="https://github.com/jacoco/jacoco/issues/634">#634</a>).</li>
717 <li>Incorrect update of frames caused by bug in ASM library
718 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>).</li>
719 <li>Loss of <code>InnerClasses</code> attribute caused by bug in ASM library
720 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>).</li>
721 <li><code>NegativeArraySizeException</code> during instrumentation caused by bug
722 in ASM library
723 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>).</li>
724 </ul>
725
726 <h3>Non-functional Changes</h3>
727 <ul>
728 <li>JaCoCo now depends on ASM 6.0
729 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>).</li>
730 <li>More information about context is provided when unable to read input during
731 instrumentation
732 (GitHub <a href="https://github.com/jacoco/jacoco/issues/527">#527</a>).</li>
733 <li>More information about context is provided when unable to read stream during
734 analysis
735 (GitHub <a href="https://github.com/jacoco/jacoco/issues/541">#541</a>).</li>
736 </ul>
737
738 <h2>Release 0.7.9 (2017/02/05)</h2>
739
740 <h3>Fixed Bugs</h3>
741 <ul>
742 <li>"<code>java.lang.ClassFormatError: Short length on BootstrapMethods in class file</code>"
743 caused by bug in ASM library
744 (GitHub <a href="https://github.com/jacoco/jacoco/issues/462">#462</a>).</li>
745 <li>Do not recompute frames in case of large methods, otherwise
746 <code>java.lang.ClassNotFoundException</code> might be thrown
747 (GitHub <a href="https://github.com/jacoco/jacoco/issues/177">#177</a>).</li>
748 <li><code>ExecutionDataWriter.FORMAT_VERSION</code> is not a compile-time constant
749 (GitHub <a href="https://github.com/jacoco/jacoco/issues/474">#474</a>).</li>
750 <li>Maven goal "prepare-agent" should not overwrite existing property value if execution was skipped
751 (GitHub <a href="https://github.com/jacoco/jacoco/issues/486">#486</a>).</li>
752 </ul>
753
754 <h3>API Changes</h3>
755 <ul>
756 <li><code>JaCoCo.ASM_API_VERSION</code> removed
757 (GitHub <a href="https://github.com/jacoco/jacoco/issues/474">#474</a>).</li>
758 </ul>
759
760 <h3>Non-functional Changes</h3>
761 <ul>
762 <li>JaCoCo now depends on ASM 5.2.</li>
763 <li>OSGi metadata now generated automatically and additionally include
764 <code>uses</code> directives, <code>Require-Capability</code> attribute,
765 and export of all internal packages with <code>x-internal:=true</code> directive
766 (GitHub <a href="https://github.com/jacoco/jacoco/issues/211">#211</a>).</li>
767 <li>Removed OSGi attributes that were mistakenly added in version 0.6.1 into
768 <code>jacocoant.jar</code> that contains all dependencies
769 (GitHub <a href="https://github.com/jacoco/jacoco/issues/211">#211</a>).</li>
770 </ul>
771
772 <h2>Release 0.7.8 (2016/12/09)</h2>
773
774 <h3>New Features</h3>
775 <ul>
776 <li>User property <code>jacoco.dataFile</code> for parameter <code>dataFile</code>
777 of Maven <code>report</code> goal
778 (GitHub <a href="https://github.com/jacoco/jacoco/issues/322">#322</a>).</li>
779 </ul>
780
781 <h3>Fixed Bugs</h3>
782 <ul>
783 <li>Use <code>RoundingMode#FLOOR</code> instead of
784 <code>RoundingMode#HALF_EVEN</code> for percentages in HTML report, so that
785 "99.5" is displayed as "99%", not as "100%"
786 (GitHub <a href="https://github.com/jacoco/jacoco/issues/452">#452</a>).</li>
787 <li>Do not add useless members into Java 8 interfaces that have only interface
788 initialization and abstract methods
789 (GitHub <a href="https://github.com/jacoco/jacoco/issues/441">#441</a>).</li>
790 <li>Fix instrumentation to not violate Java Virtual Machine Specification regarding
791 initialization of final fields, otherwise <code>IllegalAccessError</code>
792 will be thrown starting from OpenJDK 9 EA b127
793 (GitHub <a href="https://github.com/jacoco/jacoco/issues/434">#434</a>).</li>
794 <li>Fix instrumentation of interfaces with default methods to not create incorrect
795 constant pool entries, which lead to <code>IncompatibleClassChangeError</code>
796 starting from OpenJDK 9 EA b122
797 (GitHub <a href="https://github.com/jacoco/jacoco/issues/428">#428</a>).</li>
798 <li>Add Maven goal <code>report-aggregate</code> to lifecycle-mapping-metadata.xml
799 (GitHub <a href="https://github.com/jacoco/jacoco/issues/427">#427</a>).</li>
800 </ul>
801
802 <h3>Non-functional Changes</h3>
803 <ul>
804 <li>Released JaCoCo JARs are not signed any more. Signed versions of JaCoCo are
805 now available from the Eclipse Orbit project
806 (GitHub <a href="https://github.com/jacoco/jacoco/issues/466">#466</a>).</li>
807 <li>Simplified numbering of versions - JaCoCo JARs in Maven Central repository
808 do not have qualifier any more
809 (GitHub <a href="https://github.com/jacoco/jacoco/issues/468">#468</a>).</li>
810 </ul>
811
812 <h2>Release 0.7.7 (2016/06/06)</h2>
813
814 <h3>New Features</h3>
815 <ul>
816 <li>New Maven goal <code>report-aggregate</code> to create reports for
817 multi-module projects
818 (GitHub <a href="https://github.com/jacoco/jacoco/issues/388">#388</a>).</li>
819 <li>New parameters <code>title</code> and <code>footer</code> for Maven
820 reporting goals allow customization of generated reports.</li>
821 <li>Renamed "dot" resources in generated HTML reports to become more web
822 hosting friendly
823 (GitHub <a href="https://github.com/jacoco/jacoco/issues/401">#401</a>).</li>
824 <li>Experimental support for Java 9 class files
825 (GitHub <a href="https://github.com/jacoco/jacoco/issues/406">#406</a>).</li>
826 </ul>
827
828 <h3>Fixed Bugs</h3>
829 <ul>
830 <li>Don't suppress EOF errors in case of truncated execution data files
831 (GitHub <a href="https://github.com/jacoco/jacoco/issues/397">#397</a>).</li>
832 </ul>
833
834 <h3>Non-functional Changes</h3>
835 <ul>
836 <li>JaCoCo now depends on ASM 5.1.</li>
837 <li>Empty probe arrays are not written to execution data files any more. This
838 reduces exec file size significantly for per-test data dumps.
839 (GitHub <a href="https://github.com/jacoco/jacoco/issues/387">#387</a>).</li>
840 <li>More information about context is provided when unable to read input during
841 analysis.
842 (GitHub <a href="https://github.com/jacoco/jacoco/issues/400">#400</a>).</li>
843 <li>Require at least Maven 3.0 for build of JaCoCo.</li>
844 </ul>
845
846
847 <h2>Release 0.7.6 (2016/02/18)</h2>
848
849 <h3>New Features</h3>
850 <ul>
851 <li>New agent option <code>inclnolocationclasses</code> to support execution
852 environments like Android where no source location is provided with classes
853 (GitHub <a href="https://github.com/jacoco/jacoco/issues/288">#288</a>).</li>
854 <li>Improved error message in case of incompatible execution data files.
855 (GitHub <a href="https://github.com/jacoco/jacoco/issues/319">#319</a>).</li>
856 <li>Command line agent options now supports comma in file names. Contributed
857 by Jochen Berger.
858 (GitHub <a href="https://github.com/jacoco/jacoco/issues/358">#358</a>).</li>
859 </ul>
860
861 <h3>Fixed Bugs</h3>
862 <ul>
863 <li>Fix <code>MBeanClient</code> example
864 (GitHub <a href="https://github.com/jacoco/jacoco/issues/333">#333</a>).</li>
865 <li>Avoid <code>ConcurrentModificationException</code> during shutdown
866 (GitHub <a href="https://github.com/jacoco/jacoco/issues/364">#364</a>).</li>
867 </ul>
868
869 <h3>API Changes</h3>
870 <ul>
871 <li>In case of incompatible execution data formats read from another JaCoCo
872 version <code>ExecutionDataReader.read()</code> now throws a
873 <code>IncompatibleExecDataVersionException</code>.</li>
874 </ul>
875
876 <h3>Non-functional Changes</h3>
877 <ul>
878 <li>JaCoCo now depends on ASM 5.0.4.</li>
879 </ul>
880
881
882 <h2>Release 0.7.5 (2015/05/24)</h2>
883
884 <h3>New Features</h3>
885 <ul>
886 <li>Better detection of coverage in code blocks with implicit exceptions.
887 (GitHub <a href="https://github.com/jacoco/jacoco/issues/310">#310</a>).</li>
888 <li>Added lifecycle-mapping-metadata.xml for M2E
889 (GitHub <a href="https://github.com/jacoco/jacoco/issues/203">#203</a>).</li>
890 <li>Allow locales with country and variant for Ant report task
891 (GitHub <a href="https://github.com/jacoco/jacoco/issues/289">#289</a>).</li>
892 </ul>
893
894 <h3>Fixed Bugs</h3>
895 <ul>
896 <li>For the Ant tasks <code>coverage</code> and <code>agent</code> the
897 <code>destfile</code> attribute is now passed as an absolute path also in
898 the default case
899 (GitHub <a href="https://github.com/jacoco/jacoco/issues/301">#301</a>).</li>
900 </ul>
901
902 <h3>API Changes</h3>
903 <ul>
904 <li>The exec file version has been updated and is not compatible with previous
905 versions.</li>
906 </ul>
907
908 <h2>Release 0.7.4 (2015/02/26)</h2>
909
910 <h3>Fixed Bugs</h3>
911 <ul>
912 <li>Restored exec file compatibility with version 0.7.2 by fixing missing
913 probes in case of try/catch blocks which are jump targets.
914 (GitHub <a href="https://github.com/jacoco/jacoco/issues/286">#286</a>).</li>
915 </ul>
916
917
918 <h2>Release 0.7.3 (2015/02/19)</h2>
919
920 <h3>New Features</h3>
921 <ul>
922 <li>For offline instrumemtation agent configuration supports system properties
923 replacements. Implementation based on pull request of GitHub user 'debugger'
924 (GitHub <a href="https://github.com/jacoco/jacoco/issues/262">#262</a>).</li>
925 <li>Exclude dynamically generated classes from instrumentation for better
926 interoperability with JMockit, analysis contributed by Rogério Liesenfeld
927 (GitHub <a href="https://github.com/jacoco/jacoco/issues/272">#272</a>).</li>
928 </ul>
929
930 <h3>Fixed Bugs</h3>
931 <ul>
932 <li>Instrumented bytecode now compatible with Android ART runtime, analysis
933 and fix contributed by Allen Hair
934 (GitHub <a href="https://github.com/jacoco/jacoco/issues/265">#265</a>).</li>
935 </ul>
936
937 <h2>Release 0.7.2 (2014/09/12)</h2>
938
939 <h3>Fixed Bugs</h3>
940 <ul>
941 <li>Do not ignore synthetic lambda methods to get code coverage for Java 8
942 lambda expressions
943 (GitHub <a href="https://github.com/jacoco/jacoco/issues/232">#232</a>).</li>
944 </ul>
945
946 <h3>New Features</h3>
947 <ul>
948 <li>New configuration option for the JaCoCo agent
949 <code>inclbootstrapclasses</code> to also instrument classes from the
950 bootstrap class loader
951 (GitHub <a href="https://github.com/jacoco/jacoco/issues/49">#49</a>).</li>
952 <li>Agent uses unique file names to dump class files
953 (GitHub <a href="https://github.com/jacoco/jacoco/issues/225">#225</a>).</li>
954 </ul>
955
956 <h2>Release 0.7.1 (2014/05/08)</h2>
957
958 <h3>Fixed Bugs</h3>
959 <ul>
960 <li>Fixed failure with default methods in Java 8 interfaces
961 (GitHub <a href="https://github.com/jacoco/jacoco/issues/201">#201</a>).</li>
962 <li>Better interoperability with JMockit, analysis and fix contributed by Rogério
963 Liesenfeld (GitHub <a href="https://github.com/jacoco/jacoco/issues/35">#35</a>
964 and <a href="https://github.com/jacoco/jacoco/issues/54">#54</a>).</li>
965 </ul>
966
967 <h3>Non-functional Changes</h3>
968 <ul>
969 <li>JaCoCo now depends on ASM 5.0.1
970 (GitHub <a href="https://github.com/jacoco/jacoco/issues/201">#201</a>).</li>
971 </ul>
972
973 <h2>Release 0.7.0 (2014/03/18)</h2>
974
975 <h3>New Features</h3>
976 <ul>
977 <li>JaCoCo now supports Java 8
978 (GitHub <a href="https://github.com/jacoco/jacoco/issues/74">#74</a>).</li>
979 </ul>
980
981 <h3>Non-functional Changes</h3>
982 <ul>
983 <li>JaCoCo now depends on ASM 5.0 using asm-debug-all instead of asm-all
984 (GitHub <a href="https://github.com/jacoco/jacoco/issues/199">#199</a>).</li>
985 </ul>
986
987 <h2>Release 0.6.5 (2014/03/03)</h2>
988
989 <h3>New Features</h3>
990 <ul>
991 <li>Warnings are logged during report generation if different versions of
992 classes are used than at runtime (GitHub <a href="https://github.com/jacoco/jacoco/issues/185">#185</a>).</li>
993 <li>Signatures are removed from instrumented JAR files
994 (GitHub <a href="https://github.com/jacoco/jacoco/issues/186">#186</a>).</li>
995 </ul>
996
997 <h3>Fixed Bugs</h3>
998 <ul>
999 <li>Skip jacoco instrumentation for mvn modules with package type ear (GitHub <a href="https://github.com/jacoco/jacoco/issues/169">#169</a>).</li>
1000 <li>Align skip conditions and messages for Maven goals and give reasons. This
1001 includes removal of the specific skip condition for packages e.g. POMs and
1002 instead checks existence of <tt>target/classes</tt> in appropriate goals
1003 (GitHub <a href="https://github.com/jacoco/jacoco/issues/171">#171</a>).</li>
1004 <li>GitHub #44: (Regression) Agent Mojo should set empty property, if execution was skipped
1005 (GitHub <a href="https://github.com/jacoco/jacoco/issues/192">#192</a>).</li>
1006 </ul>
1007
1008 <h3>API Changes</h3>
1009 <ul>
1010 <li>Restrict visibility of methods in abstract classes of jacoco-maven-plugin (GitHub <a href="https://github.com/jacoco/jacoco/issues/175">#175</a>).</li>
1011 </ul>
1012
1013 <h2>Release 0.6.4 (2013/12/10)</h2>
1014
1015 <h3>New Features</h3>
1016 <ul>
1017 <li>Support for Android <i>Strict Mode</i> (GitHub <a href="https://github.com/jacoco/jacoco/issues/113">#113</a>).</li>
1018 <li>New dump Mojo for Maven plug-in (GitHub <a href="https://github.com/jacoco/jacoco/issues/107">#107</a>).</li>
1019 <li>New merge Mojo for Maven plug-in, contributed by Mads Mohr Christensen
1020 (GitHub <a href="https://github.com/jacoco/jacoco/issues/126">#126</a>).</li>
1021 <li>Additional list of source files for every package in HTML report
1022 (GitHub <a href="https://github.com/jacoco/jacoco/issues/142">#142</a>).</li>
1023 <li>Additional report-integration and prepare-agent-integration goals for
1024 integration tests. (GitHub <a href="https://github.com/jacoco/jacoco/issues/152">#152</a>, <a href="https://github.com/jacoco/jacoco/issues/161">#161</a>).</li>
1025 </ul>
1026
1027 <h3>Fixed Bugs</h3>
1028 <ul>
1029 <li>Multiple executions of Maven goal "prepare-agent" should not lead to
1030 incorrect configuration (GitHub <a href="https://github.com/jacoco/jacoco/issues/40">#40</a>).</li>
1031 <li>Avoid direct dependency on java.lang.management APIs to allow usage on
1032 Android (GitHub <a href="https://github.com/jacoco/jacoco/issues/150">#150</a>).</li>
1033 <li>All JaCoCo Maven goals are marked as thread-safe (GitHub <a href="https://github.com/jacoco/jacoco/issues/133">#133</a>).</li>
1034 <li>check and merge goal failures in jacoco-maven-plugin with Maven 2.2.1
1035 due to incompatible configuration (GitHub <a href="https://github.com/jacoco/jacoco/issues/129">#129</a>).</li>
1036 </ul>
1037
1038 <h3>API Changes</h3>
1039 <ul>
1040 <li>New API package <code>org.jacoco.core.tools</code> for shared high-level
1041 tools. (GitHub <a href="https://github.com/jacoco/jacoco/issues/159">#159</a>).</li>
1042 </ul>
1043
1044 <h2>Release 0.6.3 (2013/06/03)</h2>
1045
1046 <h3>New Features</h3>
1047 <ul>
1048 <li>Support for archives in Pack200 format (GitHub <a href="https://github.com/jacoco/jacoco/issues/91">#91</a>).</li>
1049 <li>The coverage check has been reworked to allow checks on all counter values
1050 on all element types (GitHub <a href="https://github.com/jacoco/jacoco/issues/106">#106</a>).</li>
1051 <li>Coverage checks are now also available in Ant (GitHub <a href="https://github.com/jacoco/jacoco/issues/106">#106</a>).</li>
1052 </ul>
1053
1054 <h3>Fixed Bugs</h3>
1055 <ul>
1056 <li>Fixed inconsistent stackmap frames when instrumenting class files produced
1057 by certain tools like ProGuard (GitHub <a href="https://github.com/jacoco/jacoco/issues/85">#85</a>).</li>
1058 </ul>
1059
1060 <h3>Non-functional Changes</h3>
1061 <ul>
1062 <li>More context information when exceptions occur during analysis or
1063 instrumentation (GitHub <a href="https://github.com/jacoco/jacoco/issues/104">#104</a>).</li>
1064 <li>If analysis is performed on offline instrumented classes - which is an
1065 build configuration error - an exception is now thrown (GitHub <a href="https://github.com/jacoco/jacoco/issues/108">#108</a>).</li>
1066 </ul>
1067
1068 <h3>API Changes</h3>
1069 <ul>
1070 <li>The configuration of the Maven check goal has been reworked to support
1071 checks on any element type (GitHub <a href="https://github.com/jacoco/jacoco/issues/106">#106</a>).</li>
1072 <li><code>Analyzer</code> and <code>Instrumenter</code> expect resource name
1073 as additional parameter for better error messages (GitHub <a href="https://github.com/jacoco/jacoco/issues/104">#104</a>).</li>
1074 </ul>
1075
1076 <h2>Release 0.6.2 (2013/02/03)</h2>
1077
1078 <h3>New Features</h3>
1079 <ul>
1080 <li>Support for offline instrumentation (GitHub <a href="https://github.com/jacoco/jacoco/issues/4">#4</a>, <a href="https://github.com/jacoco/jacoco/issues/64">#64</a>).</li>
1081 <li>JaCoCo agent exposes runtime API for direct integration with application
1082 under test (GitHub <a href="https://github.com/jacoco/jacoco/issues/61">#61</a>).</li>
1083 <li>Support for parallel test execution: Different agents can now safely write
1084 to the same <code>*.exec</code> file (GitHub <a href="https://github.com/jacoco/jacoco/issues/52">#52</a>).</li>
1085 <li>New output mode 'none' can be used when agent is only controlled via JMX
1086 or its new runtime API (GitHub <a href="https://github.com/jacoco/jacoco/issues/63">#63</a>).</li>
1087 <li>Better error message in case of invalid stackmap frames (GitHub <a href="https://github.com/jacoco/jacoco/issues/73">#73</a>).</li>
1088 <li>jacoco-maven-plugin: default phase for goal "report" - "verify"
1089 (GitHub <a href="https://github.com/jacoco/jacoco/issues/72">#72</a>).</li>
1090 </ul>
1091
1092 <h3>Non-functional Changes</h3>
1093 <ul>
1094 <li>For every build the corresponding Git commit hash is included as
1095 <code>Eclipse-SourceReferences</code> manifest headers (GitHub <a href="https://github.com/jacoco/jacoco/issues/7">#7</a>, <a href="https://github.com/jacoco/jacoco/issues/59">#59</a>).</li>
1096 <li>Adjust saturation of red source highlighting in HTML reports to make
1097 JaCoCo reports more accessible to red/green blind users.</li>
1098 </ul>
1099
1100 <h3>API Changes</h3>
1101 <ul>
1102 <li>The <code>output</code> mode <code>mbean</code> of the agent has been
1103 dropped in favor of the new boolean option <code>jmx</code>. This allows
1104 to combine JMX access with any other output mode (GitHub <a href="https://github.com/jacoco/jacoco/issues/62">#62</a>).</li>
1105 </ul>
1106
1107 <h2>Release 0.6.1 (2012/12/23)</h2>
1108
1109 <h3>New Features</h3>
1110 <ul>
1111 <li>Add a coverage check Mojo, contributed by Kyle Lieber (GitHub <a href="https://github.com/jacoco/jacoco/issues/6">#6</a>).</li>
1112 </ul>
1113
1114 <h3>Fixed Bugs</h3>
1115 <ul>
1116 <li>jacocoant.jar should not conflict with ASM 3.x (GitHub <a href="https://github.com/jacoco/jacoco/issues/39">#39</a>).</li>
1117 <li>Agent Mojo should set empty property, if execution was skipped
1118 (GitHub <a href="https://github.com/jacoco/jacoco/issues/44">#44</a>).</li>
1119 </ul>
1120
1121 <h3>Non-functional Changes</h3>
1122 <ul>
1123 <li>Upgrade to ASM 4.1 (GitHub <a href="https://github.com/jacoco/jacoco/issues/37">#37</a>).</li>
1124 <li>Log location of merged execution data file in Ant <code>merge</code> task
1125 (GitHub <a href="https://github.com/jacoco/jacoco/issues/29">#29</a>).</li>
1126 </ul>
1127
1128 <h2>Release 0.6.0 (2012/10/06)</h2>
1129
1130 <h3>New Features</h3>
1131 <ul>
1132 <li>Full support for Java 7 including INVOKEDYNAMIC as JaCoCo is now based
1133 on ASM 4.0 (GitHub <a href="https://github.com/jacoco/jacoco/issues/5">#5</a>).</li>
1134 </ul>
1135
1136 <h3>Fixed Bugs</h3>
1137 <ul>
1138 <li>Maven plugin should skip creation of report if the execution data file is
1139 missing. This avoids appearance of stack traces in case when JVM was not
1140 forked, e.g. if there are no tests to run (SF #3563431, GitHub <a href="https://github.com/jacoco/jacoco/issues/19">#19</a>).</li>
1141 <li>Maven plugin should fail if unable to read execution data file or create
1142 report (GitHub <a href="https://github.com/jacoco/jacoco/issues/19">#19</a>).</li>
1143 </ul>
1144
1145 <h3>API Changes</h3>
1146 <ul>
1147 <li>Only colon as separator character supported in agent parameters. The
1148 deprecated pipe character is no longer supported.</li>
1149 </ul>
1150
1151 <h2>Release 0.5.10 (2012/08/31)</h2>
1152
1153 <h3>Fixed Bugs</h3>
1154 <ul>
1155 <li>Correct stackmap frames for new <code>long[]</code> arrays (SF #3553210).</li>
1156 <li>Properly resolve the <code>fork</code> variable for tasks wrapped by the
1157 <code>coverage</code> Ant task (Trac #213).</li>
1158 </ul>
1159
1160 <h3>Non-functional Changes</h3>
1161 <ul>
1162 <li>Source tree has been migrated to Git and is now hosted on Github at
1163 <a href="https://github.com/jacoco/jacoco">https://github.com/jacoco/jacoco</a>.</li>
1164 </ul>
1165
1166 <h2>Release 0.5.9 (2012/07/30)</h2>
1167
1168 <h3>Fixed Bugs</h3>
1169 <ul>
1170 <li>Don't produce invalid class files in case of unexpected stackmap frames
1171 (SF #3543758).</li>
1172 </ul>
1173
1174 <h2>Release 0.5.8 (2012/07/11)</h2>
1175
1176 <h3>New Features</h3>
1177 <ul>
1178 <li>Support for parallel Maven builds (Trac #191).</li>
1179 <li>New agent option <code>classdumpdir</code> to dump all class files seen
1180 by the JaCoCo agent to disk. This option is also available for Ant and
1181 Maven (Trac #208).</li>
1182 </ul>
1183
1184 <h3>Fixed Bugs</h3>
1185 <ul>
1186 <li>Allow instrumentation of classes with dead code (SF #3538112).</li>
1187 <li>Reworked instrumentation strategy to avoid verifier error "Uninitialized
1188 object exists on backward branch" with certain Java 7 class files
1189 (Trac #154).</li>
1190 </ul>
1191
1192 <h3>Non-functional Changes</h3>
1193 <ul>
1194 <li>Documentation now includes Maven example and Maven goal documentation
1195 (Trac #201, #202).</li>
1196 </ul>
1197
1198 <h2>Release 0.5.7 (2012/04/19)</h2>
1199
1200 <h3>New Features</h3>
1201 <ul>
1202 <li>Support for class redefinitions by other agents like JMockit (SF #3509409).</li>
1203 <li>Remove class file attributes with invalid code offsets caused by other
1204 byte code processing tools to avoid verifier errors (Trac #196).</li>
1205 <li>Improved logging for Ant tasks (SF #3518429).</li>
1206 </ul>
1207
1208 <h3>Fixed Bugs</h3>
1209 <ul>
1210 <li>In case of failures the agent should log the original exception.</li>
1211 </ul>
1212
1213 <h2>Release 0.5.6 (2012/01/23)</h2>
1214
1215 <h3>New Features</h3>
1216 <ul>
1217 <li>jacoco-maven-plugin can be used together with maven-site-plugin (Trac #181).</li>
1218 <li>The <code>report</code> Ant task now also supports directory resources to
1219 specify source folders. This allows reading source files from multiple
1220 directories. Contributed by Dominik Stadler (Trac #119).</li>
1221 </ul>
1222
1223 <h3>Fixed Bugs</h3>
1224 <ul>
1225 <li>Don't insert stackmap frames for class files before version 1.6.</li>
1226 <li>Regression, which was introduced in 0.5.4 - restored compatibility of jacoco-maven-plugin with Maven 2 (Trac #182).</li>
1227 </ul>
1228
1229 <h2>Release 0.5.5 (2011/12/15)</h2>
1230
1231 <h3>Fixed Bugs</h3>
1232 <ul>
1233 <li>Correct default value for the <code>append</code> property of the
1234 <code>dump</code> Ant task is <code>true</code> (Trac #178).</li>
1235 <li>Try/catch blocks must not be counted as instructions (Trac #179).</li>
1236 </ul>
1237
1238 <h3>Non-functional Changes</h3>
1239 <ul>
1240 <li>Upgrade to ASM 3.3.1.</li>
1241 </ul>
1242
1243 <h2>Release 0.5.4 (2011/11/11)</h2>
1244
1245 <h3>New Features</h3>
1246 <ul>
1247 <li>Maven plug-in: respect <code>includes</code> and <code>excludes</code>
1248 properties in report Mojo (Trac #160).
1249 Also note that:
1250 <pre class="source lang-xml">
1251 &lt;configuration&gt;
1252 &lt;includes&gt;org.foo.*:org.bar.*&lt;/includes&gt;
1253 &lt;excludes&gt;com.foo.*:com.bar.*&lt;/excludes&gt;
1254 &lt;/configuration&gt;
1255 </pre>
1256 must be replaced on:
1257 <pre class="source lang-xml">
1258 &lt;configuration&gt;
1259 &lt;includes&gt;
1260 &lt;include>org.foo.*&lt;/include&gt;
1261 &lt;include>org.bar.*&lt;/include&gt;
1262 &lt;/includes&gt;
1263 &lt;excludes&gt;
1264 &lt;exclude&gt;com.foo.*&lt;/exclude&gt;
1265 &lt;exclude&gt;com.bar.*&lt;/exclude&gt;
1266 &lt;/excludes&gt;
1267 &lt;/configuration&gt;
1268 </pre>
1269 </li>
1270 </ul>
1271
1272 <h3>API Changes</h3>
1273 <ul>
1274 <li><code>Instrumenter</code> now only requires
1275 <code>IExecutionDataAccessorGenerator</code> instead of
1276 <code>IRuntime</code> (Trac #174).</li>
1277 <li>Removed reference to internal implementation classes from
1278 <code>CoverageBuilder</code> API.</li>
1279 </ul>
1280
1281 <h3>Non-functional Changes</h3>
1282 <ul>
1283 <li>Release bundles from now on signed again.</li>
1284 <li>Several documentation updates.</li>
1285 </ul>
1286
1287 <h2>Release 0.5.3 (2011/07/06)</h2>
1288
1289 <h3>New Features</h3>
1290 <ul>
1291 <li>New Maven plug-in for JaCoCo agent setup and basic reporting (Trac #25).</li>
1292 <li>Additional output mode implementation for JaCoCo agent based on JMX.</li>
1293 </ul>
1294
1295 <h3>Fixed Bugs</h3>
1296 <ul>
1297 <li>Fixed problem with reporting of nested group structures (Trac #157).</li>
1298 </ul>
1299
1300 <h3>Non-functional Changes</h3>
1301 <ul>
1302 <li>JaCoCo build based on Maven (Trac #136).</li>
1303 <li>JaCoCo published to Maven repository (Trac #149).</li>
1304 </ul>
1305
1306 <h2>Release 0.5.2 (2011/05/19)</h2>
1307
1308 <h3>New Features</h3>
1309 <ul>
1310 <li>JaCoCo reports cyclomatic complexity numbers (Trac #129).</li>
1311 <li>For HTML reports the tab width can be specified on the
1312 <code>sourcefiles</code> attribute of the <code>report</code> Ant task
1313 (Track #152).</li>
1314 </ul>
1315
1316 <h3>Fixed Bugs</h3>
1317 <ul>
1318 <li>Removed duplicate counters in the root node of XML reports (Trac #155).</li>
1319 <li>Avoid <code>StackOverflowException</code> when analyzing methods with very
1320 long instruction sequences (Trac #156). Many thanks to Jean-Eric Cuendet
1321 for reporting and analyzing this!</li>
1322 </ul>
1323
1324 <h3>API Changes</h3>
1325 <ul>
1326 <li><code>ICoverageNode</code> API has been extended for cyclomatic
1327 complexity (Trac #129).</li>
1328 <li>XML and CSV report includes new counter type <code>COMPLEXITY</code>
1329 (Trac #129).</li>
1330 <li>New method <code>getTabWidth()</code> in callback interface
1331 <code>ISourceFileLocator</code> instead of
1332 <code>HTMLReportFormatter.setTabWidth()</code> which has been removed.
1333 (Trac #152).</li>
1334 </ul>
1335
1336 <h2>Release 0.5.1 (2011/03/21)</h2>
1337
1338 <h3>New Features</h3>
1339 <ul>
1340 <li>Duplicate classes with identical identifiers are now ignored during
1341 analysis.</li>
1342 <li>Added support for TestNG to Ant task Coverage (Track #144).</li>
1343 </ul>
1344
1345 <h3>Fixed Bugs</h3>
1346 <ul>
1347 <li>Calculate correct stackmap frames for Java 1.6 branches (Trac #139).</li>
1348 <li>Link source files also for classes in default package (Trac #151).</li>
1349 </ul>
1350
1351 <h3>Non-functional Changes</h3>
1352 <ul>
1353 <li>API documentation cleanup (Track #140).</li>
1354 <li>Removed obsolete examples from documentation (Trac #141).</li>
1355 <li>Added reporting API example (Trac #146).</li>
1356 <li>Reduced file size of HTML report source pages (Trac #148).</li>
1357 </ul>
1358
1359 <h3>API Changes</h3>
1360 <ul>
1361 <li>Simplified reporting API (Trac #53).</li>
1362 <li>Use colon as separator character in agent parameters (Trac #143).</li>
1363 <li>Now also empty files are accepted as <code>*.exec</code> files (Trac #150).</li>
1364 </ul>
1365
1366 <h2>Release 0.5.0 (2011/01/19)</h2>
1367
1368 <h3>New Features</h3>
1369 <ul>
1370 <li>JaCoCo now reports branch coverage (Track #66).</li>
1371 </ul>
1372
1373 <h3>Fixed Bugs</h3>
1374 <ul>
1375 <li>Only process actual Java class files during analysis (SF #3106102).</li>
1376 <li>Fix broken source links due to sort hash (Track #125).</li>
1377 <li>Fixed invalid OSGi headers in MANIFEST.MF files (Track #127).</li>
1378 <li>Try to avoid interference with Hibernate (SF #3134190).</li>
1379 <li>Provide proper error message in case of duplicate class names in the same
1380 group (SF #3110219).</li>
1381 <li>Allow any number of probes in static interface initializers (SF #3161106).</li>
1382 </ul>
1383
1384 <h3>API Changes</h3>
1385 <ul>
1386 <li>All analysis specific APIs have been moved to package
1387 <code>org.jacoco.core.analysis</code>.</li>
1388 <li>The <code>IStructureVisitor</code> interface has been replaced by a
1389 simplified version called <code>ICoverageVisitor</code> (Track #132).</li>
1390 <li>All counter creation and update APIs now accept <i>missed items</i> and
1391 <i>covered items</i> as parameters (Track #131).</li>
1392 <li>Instructions are now counted on a per line basis. Therefore some
1393 interfaces in the <code>org.jacoco.core.analysis</code> package have
1394 changed as well as the <code>line</code> element in the XML report
1395 (Track #130).</li>
1396 <li>Several internal implementation classes have removed from the core APIs or
1397 have been replaced by new interfaces (Track #133).</li>
1398 </ul>
1399
1400 <h2>Release 0.4.1 (2010/10/07)</h2>
1401
1402 <h3>New Features</h3>
1403 <ul>
1404 <li>New attribute <code>line</code> for <code>method</code> elements in the
1405 XML report containing the first source line number of the method.
1406 (Track #120).</li>
1407 <li>Optional <code>locale</code> attribute for number rendering HTML reports,
1408 also available as an attribute of the <code>html</code> tag of the
1409 <code>report</code> Ant task (Track #122).</li>
1410 <li>Coverage tables in HTML report are now sortable (Track #98).</li>
1411 <li>The <code>report</code> Ant task issues a warning if source files are
1412 provided but class files do not contain debug information to collect line
1413 numbers (SF #3024486).</li>
1414 </ul>
1415
1416 <h3>Non-functional Changes</h3>
1417 <ul>
1418 <li>Reduced memory footprint for coverage data by 30% (Track #106).</li>
1419 <li>Moved to Eclipse 3.6.x as development environment (Trac #115).</li>
1420 <li>All delivered bundles and JAR files are signed (Trac #118).</li>
1421 </ul>
1422
1423 <h3>Fixed Bugs</h3>
1424 <ul>
1425 <li>Better error message when multiple JaCoCo agents are specified
1426 (Track #103).</li>
1427 <li>Fixed potential NPE at shutdown when running agent in
1428 <code>tcpserver</code> mode (Track #117).</li>
1429 <li>Agent now fails at startup when execution data file can't be opened
1430 (Track #121).</li>
1431 </ul>
1432
1433 <h2>Release 0.4.0 (2010/06/04)</h2>
1434
1435 <h3>New Features</h3>
1436 <ul>
1437 <li>Execution data now includes session information: an arbitrary identifier,
1438 the start time and dump time (Trac #88).</li>
1439 <li>Added session information to XML report (Trac #92).</li>
1440 <li>New "Sessions" page in the HTML report shows information about each
1441 sessions wherein execution data has been collected for the report
1442 (Trac #93). Additionally all classes with execution data available are
1443 listed on this page (Trac #94).</li>
1444 <li>The agent now supports remote dumps via TCP/IP connections (Trac #82).</li>
1445 <li>New Ant task <code>dump</code> to remotely collect coverage data from
1446 agents (Trac #100).</li>
1447 </ul>
1448
1449 <h3>API Changes</h3>
1450 <ul>
1451 <li>Execution data file header is written and read in any case (Trac #72).</li>
1452 <li>Added <code>dumponexit</code> to agent options (Trac #82).</li>
1453 <li>Added <code>sessionid</code> to agent options (Trac #88).</li>
1454 <li>Added <code>output, address and port</code> to agent options (Trac #82).</li>
1455 <li>Additional and modified methods in <code>IRuntime</code> to produce
1456 session information (Trac #88).</li>
1457 <li>Coverage element type <code>SESSION</code> removed (Trac #95).</li>
1458 <li>Removed several internal APIs from package
1459 <code>org.jacoco.core.instr</code> used for class instrumentation.</li>
1460 <li>Renamed class <code>org.jacoco.report.csv.CsvFormatter</code> to
1461 <code>CSVFormatter</code> (upper case) for consistency with other
1462 formatters.</li>
1463 </ul>
1464
1465 <h2>Release 0.3.3 (2010/04/19)</h2>
1466
1467 <h3>New Features</h3>
1468 <ul>
1469 <li>Support for different archives (jar, war, ear etc.) and nested archives
1470 (Trac #78).</li>
1471 <li>XML report with line level coverage information (requested for Sonar).</li>
1472 </ul>
1473
1474 <h3>Fixed Bugs</h3>
1475 <ul>
1476 <li>Correct stackmap frames for Java 1.6 class files. (Track #81).</li>
1477 <li>Avoid usage of <code>LocalVariableSorter</code> due to ASM bug #314563
1478 (Track #69).</li>
1479 <li>Nested Java/JUnit Ant tasks not being executed when coverage task disabled. (Track #85).</li>
1480 </ul>
1481
1482 <h2>Release 0.3.2 (2010/04/01)</h2>
1483
1484 <h3>New Features</h3>
1485 <ul>
1486 <li>New HTML report option to directly create a zip file containing the report
1487 (Trac #12).</li>
1488 <li>Code coverage for static initializers in interfaces (Trac #21).</li>
1489 <li>Better error handling for <code>report</code> Ant task (Trac #71).</li>
1490 <li>Classes without instructions are excluded from reports (Trac #73).</li>
1491 </ul>
1492
1493 <h3>Fixed Bugs</h3>
1494 <ul>
1495 <li>XML and CSV report output now also works for structures without groups
1496 (Track #76).</li>
1497 </ul>
1498
1499 <h3>API Changes</h3>
1500 <ul>
1501 <li>Consistent usage of the term "Missed" instead of "NotCovered" in all APIs
1502 (Trac #72).</li>
1503 <li>To support "off-line" instrumentation scenarios it is not required any
1504 more to register instrumented classes with the runtime (Trac #74).</li>
1505 </ul>
1506
1507 <h2>Release 0.3.1 (2010/02/09)</h2>
1508
1509 <h3>Fixed Bugs</h3>
1510 <ul>
1511 <li>Ant tasks broken on Linux (Trac #68).</li>
1512 </ul>
1513
1514 <h2>Release 0.3.0 (2010/02/02)</h2>
1515
1516 <h3>New Features</h3>
1517 <ul>
1518 <li>Report renders anonymous classes with type information (Trac #46).</li>
1519 <li><code>enabled</code> property added to <code>agent</code> and
1520 <code>coverage</code> Ant tasks (Trac #63).</li>
1521 <li>Ant task <code>merge</code> added (Trac #52).</li>
1522 </ul>
1523
1524 <h3>Fixed Bugs</h3>
1525 <ul>
1526 <li>New <code>IRuntime</code> implementation enables JaCoCo usage for J2EE
1527 application servers like Glassfish.</li>
1528 </ul>
1529
1530 <h3>API Changes</h3>
1531 <ul>
1532 <li>Agent option and Ant task parameter <code>file</code> changed to
1533 <code>destfile</code> (Trac #59).</li>
1534 <li>Agent option and Ant task parameter <code>merge</code> changed to
1535 <code>append</code> (Trac #51).</li>
1536 </ul>
1537
1538 <h2>Release 0.2.0 (2010/01/08)</h2>
1539
1540 <h3>New Features</h3>
1541
1542 <ul>
1543 <li>Simplified probe data structure reduces memory usage (Trac #47).</li>
1544 <li>Performance test becomes part of the build.</li>
1545 <li>New bundle <code>org.jacoco.agent</code> that provides the Java agent
1546 as a resource (Trac #50).</li>
1547 </ul>
1548
1549 <h3>Fixed Bugs</h3>
1550
1551 <ul>
1552 <li><code>ArrayIndexOutOfBoundsException</code> due to inconsistent processing
1553 while instrumentation and analysis (Trac #44).</li>
1554 </ul>
1555
1556 <h2>Release 0.1.0 (2009/10/28)</h2>
1557
1558 <p>
1559 The very first JaCoCo release.
1560 </p>
1561
1562 </div>
1563 <div class="footer">
1564 <span class="right"><a href="${jacoco.home.url}">JaCoCo</a> ${qualified.bundle.version}</span>
1565 <a href="license.html">Copyright</a> &copy; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors
1566 </div>
1567
1568 </body>
1569 </html>