aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.doc/docroot
diff options
context:
space:
mode:
authorBrett Kail <bjkail@gmail.com>2016-12-14 01:48:49 +0100
committerEvgeny Mandrikov <Godin@users.noreply.github.com>2016-12-14 02:22:14 +0100
commit055e8e4c209673f96581b723fcc6295852bf997e (patch)
treeb58c9875f4af8e6a3513810af10c03fc332b12a3 /org.jacoco.doc/docroot
parenteeb3aa8826450205ba413098605c37fe0b9e34d3 (diff)
downloadjacoco-055e8e4c209673f96581b723fcc6295852bf997e.tar.gz
Make FORMAT_VERSION non-constant
If a constant expression is assigned to a static final variable, javac will inline the constant value in the caller, which means constants should only be used for values that will never change. Otherwise, calling code must be recompiled when upgrading to a new version of the library even if the caller would otherwise not require any changes.
Diffstat (limited to 'org.jacoco.doc/docroot')
-rw-r--r--org.jacoco.doc/docroot/doc/changes.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.jacoco.doc/docroot/doc/changes.html b/org.jacoco.doc/docroot/doc/changes.html
index 181444c9..f5fc0137 100644
--- a/org.jacoco.doc/docroot/doc/changes.html
+++ b/org.jacoco.doc/docroot/doc/changes.html
@@ -20,6 +20,12 @@
<h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2>
+<h3>Fixed Bugs</h3>
+<ul>
+ <li><code>ExecutionDataWriter.FORMAT_VERSION</code> is not a compile-time constant
+ (GitHub <a href="https://github.com/jacoco/jacoco/issues/474">#474</a>).</li>
+</ul>
+
<h3>API Changes</h3>
<ul>
<li><code>JaCoCo.ASM_API_VERSION</code> removed