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> > 14 <a href="index.html" class="el_group">Documentation</a> > 15 <span class="el_source">Change History</span> 16</div> 17<div id="content"> 18 19<h1>Change History</h1> 20 21<h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2> 22 23<h3>New Features</h3> 24<ul> 25 <li>Exclude from a report enum methods <code>valueOf</code> and <code>values</code> 26 that are created by compiler 27 (GitHub <a href="https://github.com/jacoco/jacoco/issues/491">#491</a>).</li> 28 <li>Exclude from a report a part of bytecode that compiler generates for a 29 synchronized statement 30 (GitHub <a href="https://github.com/jacoco/jacoco/issues/501">#501</a>).</li> 31 <li>Exclude from a report a part of bytecode that compiler generates for a 32 try-with-resources statement 33 (GitHub <a href="https://github.com/jacoco/jacoco/issues/500">#500</a>).</li> 34 <li>Exclude from a report methods which are annotated with <code>@lombok.Generated</code>. 35 Initial analysis and contribution by Rüdiger zu Dohna. 36 (GitHub <a href="https://github.com/jacoco/jacoco/issues/513">#513</a>).</li> 37 <li>Exclude from a report private empty constructors that do not have arguments 38 (GitHub <a href="https://github.com/jacoco/jacoco/issues/529">#529</a>).</li> 39 <li>Maven aggregated reports will now also include modules of runtime dependencies 40 (GitHub <a href="https://github.com/jacoco/jacoco/issues/498">#498</a>).</li> 41 <li>JaCoCo now comes with a simple command line interface 42 (GitHub <a href="https://github.com/jacoco/jacoco/issues/525">#525</a>).</li> 43</ul> 44 45<h3>Non-functional Changes</h3> 46<ul> 47 <li>More information about context is provided when unable to read input during 48 instrumentation 49 (GitHub <a href="https://github.com/jacoco/jacoco/issues/527">#527</a>).</li> 50</ul> 51 52<h2>Release 0.7.9 (2017/02/05)</h2> 53 54<h3>Fixed Bugs</h3> 55<ul> 56 <li>"<code>java.lang.ClassFormatError: Short length on BootstrapMethods in class file</code>" 57 caused by bug in ASM library 58 (GitHub <a href="https://github.com/jacoco/jacoco/issues/462">#462</a>).</li> 59 <li>Do not recompute frames in case of large methods, otherwise 60 <code>java.lang.ClassNotFoundException</code> might be thrown 61 (GitHub <a href="https://github.com/jacoco/jacoco/issues/177">#177</a>).</li> 62 <li><code>ExecutionDataWriter.FORMAT_VERSION</code> is not a compile-time constant 63 (GitHub <a href="https://github.com/jacoco/jacoco/issues/474">#474</a>).</li> 64 <li>Maven goal "prepare-agent" should not overwrite existing property value if execution was skipped 65 (GitHub <a href="https://github.com/jacoco/jacoco/issues/486">#486</a>).</li> 66</ul> 67 68<h3>API Changes</h3> 69<ul> 70 <li><code>JaCoCo.ASM_API_VERSION</code> removed 71 (GitHub <a href="https://github.com/jacoco/jacoco/issues/474">#474</a>).</li> 72</ul> 73 74<h3>Non-functional Changes</h3> 75<ul> 76 <li>JaCoCo now depends on ASM 5.2.</li> 77 <li>OSGi metadata now generated automatically and additionally include 78 <code>uses</code> directives, <code>Require-Capability</code> attribute, 79 and export of all internal packages with <code>x-internal:=true</code> directive 80 (GitHub <a href="https://github.com/jacoco/jacoco/issues/211">#211</a>).</li> 81 <li>Removed OSGi attributes that were mistakenly added in version 0.6.1 into 82 <code>jacocoant.jar</code> that contains all dependencies 83 (GitHub <a href="https://github.com/jacoco/jacoco/issues/211">#211</a>).</li> 84</ul> 85 86<h2>Release 0.7.8 (2016/12/09)</h2> 87 88<h3>New Features</h3> 89<ul> 90 <li>User property <code>jacoco.dataFile</code> for parameter <code>dataFile</code> 91 of Maven <code>report</code> goal 92 (GitHub <a href="https://github.com/jacoco/jacoco/issues/322">#322</a>).</li> 93</ul> 94 95<h3>Fixed Bugs</h3> 96<ul> 97 <li>Use <code>RoundingMode#FLOOR</code> instead of 98 <code>RoundingMode#HALF_EVEN</code> for percentages in HTML report, so that 99 "99.5" is displayed as "99%", not as "100%" 100 (GitHub <a href="https://github.com/jacoco/jacoco/issues/452">#452</a>).</li> 101 <li>Do not add useless members into Java 8 interfaces that have only interface 102 initialization and abstract methods 103 (GitHub <a href="https://github.com/jacoco/jacoco/issues/441">#441</a>).</li> 104 <li>Fix instrumentation to not violate Java Virtual Machine Specification regarding 105 initialization of final fields, otherwise <code>IllegalAccessError</code> 106 will be thrown starting from OpenJDK 9 EA b127 107 (GitHub <a href="https://github.com/jacoco/jacoco/issues/434">#434</a>).</li> 108 <li>Fix instrumentation of interfaces with default methods to not create incorrect 109 constant pool entries, which lead to <code>IncompatibleClassChangeError</code> 110 starting from OpenJDK 9 EA b122 111 (GitHub <a href="https://github.com/jacoco/jacoco/issues/428">#428</a>).</li> 112 <li>Add Maven goal <code>report-aggregate</code> to lifecycle-mapping-metadata.xml 113 (GitHub <a href="https://github.com/jacoco/jacoco/issues/427">#427</a>).</li> 114</ul> 115 116<h3>Non-functional Changes</h3> 117<ul> 118 <li>Released JaCoCo JARs are not signed any more. Signed versions of JaCoCo are 119 now available from the Eclipse Orbit project 120 (GitHub <a href="https://github.com/jacoco/jacoco/issues/466">#466</a>).</li> 121 <li>Simplified numbering of versions - JaCoCo JARs in Maven Central repository 122 do not have qualifier any more 123 (GitHub <a href="https://github.com/jacoco/jacoco/issues/468">#468</a>).</li> 124</ul> 125 126<h2>Release 0.7.7 (2016/06/06)</h2> 127 128<h3>New Features</h3> 129<ul> 130 <li>New Maven goal <code>report-aggregate</code> to create reports for 131 multi-module projects 132 (GitHub <a href="https://github.com/jacoco/jacoco/issues/388">#388</a>).</li> 133 <li>New parameters <code>title</code> and <code>footer</code> for Maven 134 reporting goals allow customization of generated reports.</li> 135 <li>Renamed "dot" resources in generated HTML reports to become more web 136 hosting friendly 137 (GitHub <a href="https://github.com/jacoco/jacoco/issues/401">#401</a>).</li> 138 <li>Experimental support for Java 9 class files 139 (GitHub <a href="https://github.com/jacoco/jacoco/issues/406">#406</a>).</li> 140</ul> 141 142<h3>Fixed Bugs</h3> 143<ul> 144 <li>Don't suppress EOF errors in case of truncated execution data files 145 (GitHub <a href="https://github.com/jacoco/jacoco/issues/397">#397</a>).</li> 146</ul> 147 148<h3>Non-functional Changes</h3> 149<ul> 150 <li>JaCoCo now depends on ASM 5.1.</li> 151 <li>Empty probe arrays are not written to execution data files any more. This 152 reduces exec file size significantly for per-test data dumps. 153 (GitHub <a href="https://github.com/jacoco/jacoco/issues/387">#387</a>).</li> 154 <li>More information about context is provided when unable to read input during 155 analysis. 156 (GitHub <a href="https://github.com/jacoco/jacoco/issues/400">#400</a>).</li> 157 <li>Require at least Maven 3.0 for build of JaCoCo.</li> 158</ul> 159 160 161<h2>Release 0.7.6 (2016/02/18)</h2> 162 163<h3>New Features</h3> 164<ul> 165 <li>New agent option <code>inclnolocationclasses</code> to support execution 166 environments like Android where no source location is provided with classes 167 (GitHub <a href="https://github.com/jacoco/jacoco/issues/288">#288</a>).</li> 168 <li>Improved error message in case of incompatible execution data files. 169 (GitHub <a href="https://github.com/jacoco/jacoco/issues/319">#319</a>).</li> 170 <li>Command line agent options now supports comma in file names. Contributed 171 by Jochen Berger. 172 (GitHub <a href="https://github.com/jacoco/jacoco/issues/358">#358</a>).</li> 173</ul> 174 175<h3>Fixed Bugs</h3> 176<ul> 177 <li>Fix <code>MBeanClient</code> example 178 (GitHub <a href="https://github.com/jacoco/jacoco/issues/333">#333</a>).</li> 179 <li>Avoid <code>ConcurrentModificationException</code> during shutdown 180 (GitHub <a href="https://github.com/jacoco/jacoco/issues/364">#364</a>).</li> 181</ul> 182 183<h3>API Changes</h3> 184<ul> 185 <li>In case of incompatible execution data formats read from another JaCoCo 186 version <code>ExecutionDataReader.read()</code> now throws a 187 <code>IncompatibleExecDataVersionException</code>.</li> 188</ul> 189 190<h3>Non-functional Changes</h3> 191<ul> 192 <li>JaCoCo now depends on ASM 5.0.4.</li> 193</ul> 194 195 196<h2>Release 0.7.5 (2015/05/24)</h2> 197 198<h3>New Features</h3> 199<ul> 200 <li>Better detection of coverage in code blocks with implicit exceptions. 201 (GitHub <a href="https://github.com/jacoco/jacoco/issues/310">#310</a>).</li> 202 <li>Added lifecycle-mapping-metadata.xml for M2E 203 (GitHub <a href="https://github.com/jacoco/jacoco/issues/203">#203</a>).</li> 204 <li>Allow locales with country and variant for Ant report task 205 (GitHub <a href="https://github.com/jacoco/jacoco/issues/289">#289</a>).</li> 206</ul> 207 208<h3>Fixed Bugs</h3> 209<ul> 210 <li>For the Ant tasks <code>coverage</code> and <code>agent</code> the 211 <code>destfile</code> attribute is now passed as an absolute path also in 212 the default case 213 (GitHub <a href="https://github.com/jacoco/jacoco/issues/301">#301</a>).</li> 214</ul> 215 216<h3>API Changes</h3> 217<ul> 218 <li>The exec file version has been updated and is not compatible with previous 219 versions.</li> 220</ul> 221 222<h2>Release 0.7.4 (2015/02/26)</h2> 223 224<h3>Fixed Bugs</h3> 225<ul> 226 <li>Restored exec file compatibility with version 0.7.2 by fixing missing 227 probes in case of try/catch blocks which are jump targets. 228 (GitHub <a href="https://github.com/jacoco/jacoco/issues/286">#286</a>).</li> 229</ul> 230 231 232<h2>Release 0.7.3 (2015/02/19)</h2> 233 234<h3>New Features</h3> 235<ul> 236 <li>For offline instrumemtation agent configuration supports system properties 237 replacements. Implementation based on pull request of GitHub user 'debugger' 238 (GitHub <a href="https://github.com/jacoco/jacoco/issues/262">#262</a>).</li> 239 <li>Exclude dynamically generated classes from instrumentation for better 240 interoperability with JMockit, analysis contributed by Rogério Liesenfeld 241 (GitHub <a href="https://github.com/jacoco/jacoco/issues/272">#272</a>).</li> 242</ul> 243 244<h3>Fixed Bugs</h3> 245<ul> 246 <li>Instrumented bytecode now compatible with Android ART runtime, analysis 247 and fix contributed by Allen Hair 248 (GitHub <a href="https://github.com/jacoco/jacoco/issues/265">#265</a>).</li> 249</ul> 250 251<h2>Release 0.7.2 (2014/09/12)</h2> 252 253<h3>Fixed Bugs</h3> 254<ul> 255 <li>Do not ignore synthetic lambda methods to get code coverage for Java 8 256 lambda expressions 257 (GitHub <a href="https://github.com/jacoco/jacoco/issues/232">#232</a>).</li> 258</ul> 259 260<h3>New Features</h3> 261<ul> 262 <li>New configuration option for the JaCoCo agent 263 <code>inclbootstrapclasses</code> to also instrument classes from the 264 bootstrap class loader 265 (GitHub <a href="https://github.com/jacoco/jacoco/issues/49">#49</a>).</li> 266 <li>Agent uses unique file names to dump class files 267 (GitHub <a href="https://github.com/jacoco/jacoco/issues/225">#225</a>).</li> 268</ul> 269 270<h2>Release 0.7.1 (2014/05/08)</h2> 271 272<h3>Fixed Bugs</h3> 273<ul> 274 <li>Fixed failure with default methods in Java 8 interfaces 275 (GitHub <a href="https://github.com/jacoco/jacoco/issues/201">#201</a>).</li> 276 <li>Better interoperability with JMockit, analysis and fix contributed by Rogério 277 Liesenfeld (GitHub <a href="https://github.com/jacoco/jacoco/issues/35">#35</a> 278 and <a href="https://github.com/jacoco/jacoco/issues/54">#54</a>).</li> 279</ul> 280 281<h3>Non-functional Changes</h3> 282<ul> 283 <li>JaCoCo now depends on ASM 5.0.1 284 (GitHub <a href="https://github.com/jacoco/jacoco/issues/201">#201</a>).</li> 285</ul> 286 287<h2>Release 0.7.0 (2014/03/18)</h2> 288 289<h3>New Features</h3> 290<ul> 291 <li>JaCoCo now supports Java 8 292 (GitHub <a href="https://github.com/jacoco/jacoco/issues/74">#74</a>).</li> 293</ul> 294 295<h3>Non-functional Changes</h3> 296<ul> 297 <li>JaCoCo now depends on ASM 5.0 using asm-debug-all instead of asm-all 298 (GitHub <a href="https://github.com/jacoco/jacoco/issues/199">#199</a>).</li> 299</ul> 300 301<h2>Release 0.6.5 (2014/03/03)</h2> 302 303<h3>New Features</h3> 304<ul> 305 <li>Warnings are logged during report generation if different versions of 306 classes are used than at runtime (GitHub <a href="https://github.com/jacoco/jacoco/issues/185">#185</a>).</li> 307 <li>Signatures are removed from instrumented JAR files 308 (GitHub <a href="https://github.com/jacoco/jacoco/issues/186">#186</a>).</li> 309</ul> 310 311<h3>Fixed Bugs</h3> 312<ul> 313 <li>Skip jacoco instrumentation for mvn modules with package type ear (GitHub <a href="https://github.com/jacoco/jacoco/issues/169">#169</a>).</li> 314 <li>Align skip conditions and messages for Maven goals and give reasons. This 315 includes removal of the specific skip condition for packages e.g. POMs and 316 instead checks existence of <tt>target/classes</tt> in appropriate goals 317 (GitHub <a href="https://github.com/jacoco/jacoco/issues/171">#171</a>).</li> 318 <li>GitHub #44: (Regression) Agent Mojo should set empty property, if execution was skipped 319 (GitHub <a href="https://github.com/jacoco/jacoco/issues/192">#192</a>).</li> 320</ul> 321 322<h3>API Changes</h3> 323<ul> 324 <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> 325</ul> 326 327<h2>Release 0.6.4 (2013/12/10)</h2> 328 329<h3>New Features</h3> 330<ul> 331 <li>Support for Android <i>Strict Mode</i> (GitHub <a href="https://github.com/jacoco/jacoco/issues/113">#113</a>).</li> 332 <li>New dump Mojo for Maven plug-in (GitHub <a href="https://github.com/jacoco/jacoco/issues/107">#107</a>).</li> 333 <li>New merge Mojo for Maven plug-in, contributed by Mads Mohr Christensen 334 (GitHub <a href="https://github.com/jacoco/jacoco/issues/126">#126</a>).</li> 335 <li>Additional list of source files for every package in HTML report 336 (GitHub <a href="https://github.com/jacoco/jacoco/issues/142">#142</a>).</li> 337 <li>Additional report-integration and prepare-agent-integration goals for 338 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> 339</ul> 340 341<h3>Fixed Bugs</h3> 342<ul> 343 <li>Multiple executions of Maven goal "prepare-agent" should not lead to 344 incorrect configuration (GitHub <a href="https://github.com/jacoco/jacoco/issues/40">#40</a>).</li> 345 <li>Avoid direct dependency on java.lang.management APIs to allow usage on 346 Android (GitHub <a href="https://github.com/jacoco/jacoco/issues/150">#150</a>).</li> 347 <li>All JaCoCo Maven goals are marked as thread-safe (GitHub <a href="https://github.com/jacoco/jacoco/issues/133">#133</a>).</li> 348 <li>check and merge goal failures in jacoco-maven-plugin with Maven 2.2.1 349 due to incompatible configuration (GitHub <a href="https://github.com/jacoco/jacoco/issues/129">#129</a>).</li> 350</ul> 351 352<h3>API Changes</h3> 353<ul> 354 <li>New API package <code>org.jacoco.core.tools</code> for shared high-level 355 tools. (GitHub <a href="https://github.com/jacoco/jacoco/issues/159">#159</a>).</li> 356</ul> 357 358<h2>Release 0.6.3 (2013/06/03)</h2> 359 360<h3>New Features</h3> 361<ul> 362 <li>Support for archives in Pack200 format (GitHub <a href="https://github.com/jacoco/jacoco/issues/91">#91</a>).</li> 363 <li>The coverage check has been reworked to allow checks on all counter values 364 on all element types (GitHub <a href="https://github.com/jacoco/jacoco/issues/106">#106</a>).</li> 365 <li>Coverage checks are now also available in Ant (GitHub <a href="https://github.com/jacoco/jacoco/issues/106">#106</a>).</li> 366</ul> 367 368<h3>Fixed Bugs</h3> 369<ul> 370 <li>Fixed inconsistent stackmap frames when instrumenting class files produced 371 by certain tools like ProGuard (GitHub <a href="https://github.com/jacoco/jacoco/issues/85">#85</a>).</li> 372</ul> 373 374<h3>Non-functional Changes</h3> 375<ul> 376 <li>More context information when exceptions occur during analysis or 377 instrumentation (GitHub <a href="https://github.com/jacoco/jacoco/issues/104">#104</a>).</li> 378 <li>If analysis is performed on offline instrumented classes - which is an 379 build configuration error - an exception is now thrown (GitHub <a href="https://github.com/jacoco/jacoco/issues/108">#108</a>).</li> 380</ul> 381 382<h3>API Changes</h3> 383<ul> 384 <li>The configuration of the Maven check goal has been reworked to support 385 checks on any element type (GitHub <a href="https://github.com/jacoco/jacoco/issues/106">#106</a>).</li> 386 <li><code>Analyzer</code> and <code>Instrumenter</code> expect resource name 387 as additional parameter for better error messages (GitHub <a href="https://github.com/jacoco/jacoco/issues/104">#104</a>).</li> 388</ul> 389 390<h2>Release 0.6.2 (2013/02/03)</h2> 391 392<h3>New Features</h3> 393<ul> 394 <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> 395 <li>JaCoCo agent exposes runtime API for direct integration with application 396 under test (GitHub <a href="https://github.com/jacoco/jacoco/issues/61">#61</a>).</li> 397 <li>Support for parallel test execution: Different agents can now safely write 398 to the same <code>*.exec</code> file (GitHub <a href="https://github.com/jacoco/jacoco/issues/52">#52</a>).</li> 399 <li>New output mode 'none' can be used when agent is only controlled via JMX 400 or its new runtime API (GitHub <a href="https://github.com/jacoco/jacoco/issues/63">#63</a>).</li> 401 <li>Better error message in case of invalid stackmap frames (GitHub <a href="https://github.com/jacoco/jacoco/issues/73">#73</a>).</li> 402 <li>jacoco-maven-plugin: default phase for goal "report" - "verify" 403 (GitHub <a href="https://github.com/jacoco/jacoco/issues/72">#72</a>).</li> 404</ul> 405 406<h3>Non-functional Changes</h3> 407<ul> 408 <li>For every build the corresponding Git commit hash is included as 409 <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> 410 <li>Adjust saturation of red source highlighting in HTML reports to make 411 JaCoCo reports more accessible to red/green blind users.</li> 412</ul> 413 414<h3>API Changes</h3> 415<ul> 416 <li>The <code>output</code> mode <code>mbean</code> of the agent has been 417 dropped in favor of the new boolean option <code>jmx</code>. This allows 418 to combine JMX access with any other output mode (GitHub <a href="https://github.com/jacoco/jacoco/issues/62">#62</a>).</li> 419</ul> 420 421<h2>Release 0.6.1 (2012/12/23)</h2> 422 423<h3>New Features</h3> 424<ul> 425 <li>Add a coverage check Mojo, contributed by Kyle Lieber (GitHub <a href="https://github.com/jacoco/jacoco/issues/6">#6</a>).</li> 426</ul> 427 428<h3>Fixed Bugs</h3> 429<ul> 430 <li>jacocoant.jar should not conflict with ASM 3.x (GitHub <a href="https://github.com/jacoco/jacoco/issues/39">#39</a>).</li> 431 <li>Agent Mojo should set empty property, if execution was skipped 432 (GitHub <a href="https://github.com/jacoco/jacoco/issues/44">#44</a>).</li> 433</ul> 434 435<h3>Non-functional Changes</h3> 436<ul> 437 <li>Upgrade to ASM 4.1 (GitHub <a href="https://github.com/jacoco/jacoco/issues/37">#37</a>).</li> 438 <li>Log location of merged execution data file in Ant <code>merge</code> task 439 (GitHub <a href="https://github.com/jacoco/jacoco/issues/29">#29</a>).</li> 440</ul> 441 442<h2>Release 0.6.0 (2012/10/06)</h2> 443 444<h3>New Features</h3> 445<ul> 446 <li>Full support for Java 7 including INVOKEDYNAMIC as JaCoCo is now based 447 on ASM 4.0 (GitHub <a href="https://github.com/jacoco/jacoco/issues/5">#5</a>).</li> 448</ul> 449 450<h3>Fixed Bugs</h3> 451<ul> 452 <li>Maven plugin should skip creation of report if the execution data file is 453 missing. This avoids appearance of stack traces in case when JVM was not 454 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> 455 <li>Maven plugin should fail if unable to read execution data file or create 456 report (GitHub <a href="https://github.com/jacoco/jacoco/issues/19">#19</a>).</li> 457</ul> 458 459<h3>API Changes</h3> 460<ul> 461 <li>Only colon as separator character supported in agent parameters. The 462 deprecated pipe character is no longer supported.</li> 463</ul> 464 465<h2>Release 0.5.10 (2012/08/31)</h2> 466 467<h3>Fixed Bugs</h3> 468<ul> 469 <li>Correct stackmap frames for new <code>long[]</code> arrays (SF #3553210).</li> 470 <li>Properly resolve the <code>fork</code> variable for tasks wrapped by the 471 <code>coverage</code> Ant task (Trac #213).</li> 472</ul> 473 474<h3>Non-functional Changes</h3> 475<ul> 476 <li>Source tree has been migrated to Git and is now hosted on Github at 477 <a href="https://github.com/jacoco/jacoco">https://github.com/jacoco/jacoco</a>.</li> 478</ul> 479 480<h2>Release 0.5.9 (2012/07/30)</h2> 481 482<h3>Fixed Bugs</h3> 483<ul> 484 <li>Don't produce invalid class files in case of unexpected stackmap frames 485 (SF #3543758).</li> 486</ul> 487 488<h2>Release 0.5.8 (2012/07/11)</h2> 489 490<h3>New Features</h3> 491<ul> 492 <li>Support for parallel Maven builds (Trac #191).</li> 493 <li>New agent option <code>classdumpdir</code> to dump all class files seen 494 by the JaCoCo agent to disk. This option is also available for Ant and 495 Maven (Trac #208).</li> 496</ul> 497 498<h3>Fixed Bugs</h3> 499<ul> 500 <li>Allow instrumentation of classes with dead code (SF #3538112).</li> 501 <li>Reworked instrumentation strategy to avoid verifier error "Uninitialized 502 object exists on backward branch" with certain Java 7 class files 503 (Trac #154).</li> 504</ul> 505 506<h3>Non-functional Changes</h3> 507<ul> 508 <li>Documentation now includes Maven example and Maven goal documentation 509 (Trac #201, #202).</li> 510</ul> 511 512<h2>Release 0.5.7 (2012/04/19)</h2> 513 514<h3>New Features</h3> 515<ul> 516 <li>Support for class redefinitions by other agents like JMockit (SF #3509409).</li> 517 <li>Remove class file attributes with invalid code offsets caused by other 518 byte code processing tools to avoid verifier errors (Trac #196).</li> 519 <li>Improved logging for Ant tasks (SF #3518429).</li> 520</ul> 521 522<h3>Fixed Bugs</h3> 523<ul> 524 <li>In case of failures the agent should log the original exception.</li> 525</ul> 526 527<h2>Release 0.5.6 (2012/01/23)</h2> 528 529<h3>New Features</h3> 530<ul> 531 <li>jacoco-maven-plugin can be used together with maven-site-plugin (Trac #181).</li> 532 <li>The <code>report</code> Ant task now also supports directory resources to 533 specify source folders. This allows reading source files from multiple 534 directories. Contributed by Dominik Stadler (Trac #119).</li> 535</ul> 536 537<h3>Fixed Bugs</h3> 538<ul> 539 <li>Don't insert stackmap frames for class files before version 1.6.</li> 540 <li>Regression, which was introduced in 0.5.4 - restored compatibility of jacoco-maven-plugin with Maven 2 (Trac #182).</li> 541</ul> 542 543<h2>Release 0.5.5 (2011/12/15)</h2> 544 545<h3>Fixed Bugs</h3> 546<ul> 547 <li>Correct default value for the <code>append</code> property of the 548 <code>dump</code> Ant task is <code>true</code> (Trac #178).</li> 549 <li>Try/catch blocks must not be counted as instructions (Trac #179).</li> 550</ul> 551 552<h3>Non-functional Changes</h3> 553<ul> 554 <li>Upgrade to ASM 3.3.1.</li> 555</ul> 556 557<h2>Release 0.5.4 (2011/11/11)</h2> 558 559<h3>New Features</h3> 560<ul> 561 <li>Maven plug-in: respect <code>includes</code> and <code>excludes</code> 562 properties in report Mojo (Trac #160). 563 Also note that: 564<pre class="source lang-xml"> 565<configuration> 566 <includes>org.foo.*:org.bar.*</includes> 567 <excludes>com.foo.*:com.bar.*</excludes> 568</configuration> 569</pre> 570 must be replaced on: 571<pre class="source lang-xml"> 572<configuration> 573 <includes> 574 <include>org.foo.*</include> 575 <include>org.bar.*</include> 576 </includes> 577 <excludes> 578 <exclude>com.foo.*</exclude> 579 <exclude>com.bar.*</exclude> 580 </excludes> 581</configuration> 582</pre> 583 </li> 584</ul> 585 586<h3>API Changes</h3> 587<ul> 588 <li><code>Instrumenter</code> now only requires 589 <code>IExecutionDataAccessorGenerator</code> instead of 590 <code>IRuntime</code> (Trac #174).</li> 591 <li>Removed reference to internal implementation classes from 592 <code>CoverageBuilder</code> API.</li> 593</ul> 594 595<h3>Non-functional Changes</h3> 596<ul> 597 <li>Release bundles from now on signed again.</li> 598 <li>Several documentation updates.</li> 599</ul> 600 601<h2>Release 0.5.3 (2011/07/06)</h2> 602 603<h3>New Features</h3> 604<ul> 605 <li>New Maven plug-in for JaCoCo agent setup and basic reporting (Trac #25).</li> 606 <li>Additional output mode implementation for JaCoCo agent based on JMX.</li> 607</ul> 608 609<h3>Fixed Bugs</h3> 610<ul> 611 <li>Fixed problem with reporting of nested group structures (Trac #157).</li> 612</ul> 613 614<h3>Non-functional Changes</h3> 615<ul> 616 <li>JaCoCo build based on Maven (Trac #136).</li> 617 <li>JaCoCo published to Maven repository (Trac #149).</li> 618</ul> 619 620<h2>Release 0.5.2 (2011/05/19)</h2> 621 622<h3>New Features</h3> 623<ul> 624 <li>JaCoCo reports cyclomatic complexity numbers (Trac #129).</li> 625 <li>For HTML reports the tab width can be specified on the 626 <code>sourcefiles</code> attribute of the <code>report</code> Ant task 627 (Track #152).</li> 628</ul> 629 630<h3>Fixed Bugs</h3> 631<ul> 632 <li>Removed duplicate counters in the root node of XML reports (Trac #155).</li> 633 <li>Avoid <code>StackOverflowException</code> when analyzing methods with very 634 long instruction sequences (Trac #156). Many thanks to Jean-Eric Cuendet 635 for reporting and analyzing this!</li> 636</ul> 637 638<h3>API Changes</h3> 639<ul> 640 <li><code>ICoverageNode</code> API has been extended for cyclomatic 641 complexity (Trac #129).</li> 642 <li>XML and CSV report includes new counter type <code>COMPLEXITY</code> 643 (Trac #129).</li> 644 <li>New method <code>getTabWidth()</code> in callback interface 645 <code>ISourceFileLocator</code> instead of 646 <code>HTMLReportFormatter.setTabWidth()</code> which has been removed. 647 (Trac #152).</li> 648</ul> 649 650<h2>Release 0.5.1 (2011/03/21)</h2> 651 652<h3>New Features</h3> 653<ul> 654 <li>Duplicate classes with identical identifiers are now ignored during 655 analysis.</li> 656 <li>Added support for TestNG to Ant task Coverage (Track #144).</li> 657</ul> 658 659<h3>Fixed Bugs</h3> 660<ul> 661 <li>Calculate correct stackmap frames for Java 1.6 branches (Trac #139).</li> 662 <li>Link source files also for classes in default package (Trac #151).</li> 663</ul> 664 665<h3>Non-functional Changes</h3> 666<ul> 667 <li>API documentation cleanup (Track #140).</li> 668 <li>Removed obsolete examples from documentation (Trac #141).</li> 669 <li>Added reporting API example (Trac #146).</li> 670 <li>Reduced file size of HTML report source pages (Trac #148).</li> 671</ul> 672 673<h3>API Changes</h3> 674<ul> 675 <li>Simplified reporting API (Trac #53).</li> 676 <li>Use colon as separator character in agent parameters (Trac #143).</li> 677 <li>Now also empty files are accepted as <code>*.exec</code> files (Trac #150).</li> 678</ul> 679 680<h2>Release 0.5.0 (2011/01/19)</h2> 681 682<h3>New Features</h3> 683<ul> 684 <li>JaCoCo now reports branch coverage (Track #66).</li> 685</ul> 686 687<h3>Fixed Bugs</h3> 688<ul> 689 <li>Only process actual Java class files during analysis (SF #3106102).</li> 690 <li>Fix broken source links due to sort hash (Track #125).</li> 691 <li>Fixed invalid OSGi headers in MANIFEST.MF files (Track #127).</li> 692 <li>Try to avoid interference with Hibernate (SF #3134190).</li> 693 <li>Provide proper error message in case of duplicate class names in the same 694 group (SF #3110219).</li> 695 <li>Allow any number of probes in static interface initializers (SF #3161106).</li> 696</ul> 697 698<h3>API Changes</h3> 699<ul> 700 <li>All analysis specific APIs have been moved to package 701 <code>org.jacoco.core.analysis</code>.</li> 702 <li>The <code>IStructureVisitor</code> interface has been replaced by a 703 simplified version called <code>ICoverageVisitor</code> (Track #132).</li> 704 <li>All counter creation and update APIs now accept <i>missed items</i> and 705 <i>covered items</i> as parameters (Track #131).</li> 706 <li>Instructions are now counted on a per line basis. Therefore some 707 interfaces in the <code>org.jacoco.core.analysis</code> package have 708 changed as well as the <code>line</code> element in the XML report 709 (Track #130).</li> 710 <li>Several internal implementation classes have removed from the core APIs or 711 have been replaced by new interfaces (Track #133).</li> 712</ul> 713 714<h2>Release 0.4.1 (2010/10/07)</h2> 715 716<h3>New Features</h3> 717<ul> 718 <li>New attribute <code>line</code> for <code>method</code> elements in the 719 XML report containing the first source line number of the method. 720 (Track #120).</li> 721 <li>Optional <code>locale</code> attribute for number rendering HTML reports, 722 also available as an attribute of the <code>html</code> tag of the 723 <code>report</code> Ant task (Track #122).</li> 724 <li>Coverage tables in HTML report are now sortable (Track #98).</li> 725 <li>The <code>report</code> Ant task issues a warning if source files are 726 provided but class files do not contain debug information to collect line 727 numbers (SF #3024486).</li> 728</ul> 729 730<h3>Non-functional Changes</h3> 731<ul> 732 <li>Reduced memory footprint for coverage data by 30% (Track #106).</li> 733 <li>Moved to Eclipse 3.6.x as development environment (Trac #115).</li> 734 <li>All delivered bundles and JAR files are signed (Trac #118).</li> 735</ul> 736 737<h3>Fixed Bugs</h3> 738<ul> 739 <li>Better error message when multiple JaCoCo agents are specified 740 (Track #103).</li> 741 <li>Fixed potential NPE at shutdown when running agent in 742 <code>tcpserver</code> mode (Track #117).</li> 743 <li>Agent now fails at startup when execution data file can't be opened 744 (Track #121).</li> 745</ul> 746 747<h2>Release 0.4.0 (2010/06/04)</h2> 748 749<h3>New Features</h3> 750<ul> 751 <li>Execution data now includes session information: an arbitrary identifier, 752 the start time and dump time (Trac #88).</li> 753 <li>Added session information to XML report (Trac #92).</li> 754 <li>New "Sessions" page in the HTML report shows information about each 755 sessions wherein execution data has been collected for the report 756 (Trac #93). Additionally all classes with execution data available are 757 listed on this page (Trac #94).</li> 758 <li>The agent now supports remote dumps via TCP/IP connections (Trac #82).</li> 759 <li>New Ant task <code>dump</code> to remotely collect coverage data from 760 agents (Trac #100).</li> 761</ul> 762 763<h3>API Changes</h3> 764<ul> 765 <li>Execution data file header is written and read in any case (Trac #72).</li> 766 <li>Added <code>dumponexit</code> to agent options (Trac #82).</li> 767 <li>Added <code>sessionid</code> to agent options (Trac #88).</li> 768 <li>Added <code>output, address and port</code> to agent options (Trac #82).</li> 769 <li>Additional and modified methods in <code>IRuntime</code> to produce 770 session information (Trac #88).</li> 771 <li>Coverage element type <code>SESSION</code> removed (Trac #95).</li> 772 <li>Removed several internal APIs from package 773 <code>org.jacoco.core.instr</code> used for class instrumentation.</li> 774 <li>Renamed class <code>org.jacoco.report.csv.CsvFormatter</code> to 775 <code>CSVFormatter</code> (upper case) for consistency with other 776 formatters.</li> 777</ul> 778 779<h2>Release 0.3.3 (2010/04/19)</h2> 780 781<h3>New Features</h3> 782<ul> 783 <li>Support for different archives (jar, war, ear etc.) and nested archives 784 (Trac #78).</li> 785 <li>XML report with line level coverage information (requested for Sonar).</li> 786</ul> 787 788<h3>Fixed Bugs</h3> 789<ul> 790 <li>Correct stackmap frames for Java 1.6 class files. (Track #81).</li> 791 <li>Avoid usage of <code>LocalVariableSorter</code> due to ASM bug #314563 792 (Track #69).</li> 793 <li>Nested Java/JUnit Ant tasks not being executed when coverage task disabled. (Track #85).</li> 794</ul> 795 796<h2>Release 0.3.2 (2010/04/01)</h2> 797 798<h3>New Features</h3> 799<ul> 800 <li>New HTML report option to directly create a zip file containing the report 801 (Trac #12).</li> 802 <li>Code coverage for static initializers in interfaces (Trac #21).</li> 803 <li>Better error handling for <code>report</code> Ant task (Trac #71).</li> 804 <li>Classes without instructions are excluded from reports (Trac #73).</li> 805</ul> 806 807<h3>Fixed Bugs</h3> 808<ul> 809 <li>XML and CSV report output now also works for structures without groups 810 (Track #76).</li> 811</ul> 812 813<h3>API Changes</h3> 814<ul> 815 <li>Consistent usage of the term "Missed" instead of "NotCovered" in all APIs 816 (Trac #72).</li> 817 <li>To support "off-line" instrumentation scenarios it is not required any 818 more to register instrumented classes with the runtime (Trac #74).</li> 819</ul> 820 821<h2>Release 0.3.1 (2010/02/09)</h2> 822 823<h3>Fixed Bugs</h3> 824<ul> 825 <li>Ant tasks broken on Linux (Trac #68).</li> 826</ul> 827 828<h2>Release 0.3.0 (2010/02/02)</h2> 829 830<h3>New Features</h3> 831<ul> 832 <li>Report renders anonymous classes with type information (Trac #46).</li> 833 <li><code>enabled</code> property added to <code>agent</code> and 834 <code>coverage</code> Ant tasks (Trac #63).</li> 835 <li>Ant task <code>merge</code> added (Trac #52).</li> 836</ul> 837 838<h3>Fixed Bugs</h3> 839<ul> 840 <li>New <code>IRuntime</code> implementation enables JaCoCo usage for J2EE 841 application servers like Glassfish.</li> 842</ul> 843 844<h3>API Changes</h3> 845<ul> 846 <li>Agent option and Ant task parameter <code>file</code> changed to 847 <code>destfile</code> (Trac #59).</li> 848 <li>Agent option and Ant task parameter <code>merge</code> changed to 849 <code>append</code> (Trac #51).</li> 850</ul> 851 852<h2>Release 0.2.0 (2010/01/08)</h2> 853 854<h3>New Features</h3> 855 856<ul> 857 <li>Simplified probe data structure reduces memory usage (Trac #47).</li> 858 <li>Performance test becomes part of the build.</li> 859 <li>New bundle <code>org.jacoco.agent</code> that provides the Java agent 860 as a resource (Trac #50).</li> 861</ul> 862 863<h3>Fixed Bugs</h3> 864 865<ul> 866 <li><code>ArrayIndexOutOfBoundsException</code> due to inconsistent processing 867 while instrumentation and analysis (Trac #44).</li> 868</ul> 869 870<h2>Release 0.1.0 (2009/10/28)</h2> 871 872<p> 873 The very first JaCoCo release. 874</p> 875 876</div> 877<div class="footer"> 878 <span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span> 879 <a href="license.html">Copyright</a> © @copyright.years@ Mountainminds GmbH & Co. KG and Contributors 880</div> 881 882</body> 883</html> 884