aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.core/src/org/jacoco/core/data/ExecutionDataWriter.java
diff options
context:
space:
mode:
authorOliver Nguyen <olivernguyen@google.com>2020-08-17 22:03:21 +0000
committerOliver Nguyen <olivernguyen@google.com>2020-08-17 22:03:21 +0000
commitbf6088bd3a28237e8d7eb33579140fa17bcee57a (patch)
treeff121ba8fcc1140f854ff568722192877ffeae6a /org.jacoco.core/src/org/jacoco/core/data/ExecutionDataWriter.java
parentd29cfbbb94ce3952e034af105dced62b6fc2c28c (diff)
downloadjacoco-bf6088bd3a28237e8d7eb33579140fa17bcee57a.tar.gz
Revert "Revert "Add IExecutionData interface and move all usage ..."
Revert "Revert "Update JavaCodeCoverageListenerTest to new IExec..." Revert submission 1398750-revert-1364940-IExecutionData-FHXOSGWBLA Reason for revert: Fixed build Reverted Changes: I609da053c:Revert "Add IExecutionData interface and move all ... Iff176c367:Revert "Update JavaCodeCoverageListenerTest to new... Change-Id: I2b1653276b15049c53c8f186a603cfc4b2015ed5
Diffstat (limited to 'org.jacoco.core/src/org/jacoco/core/data/ExecutionDataWriter.java')
-rw-r--r--org.jacoco.core/src/org/jacoco/core/data/ExecutionDataWriter.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/org.jacoco.core/src/org/jacoco/core/data/ExecutionDataWriter.java b/org.jacoco.core/src/org/jacoco/core/data/ExecutionDataWriter.java
index e697dda3..bdf3445d 100644
--- a/org.jacoco.core/src/org/jacoco/core/data/ExecutionDataWriter.java
+++ b/org.jacoco.core/src/org/jacoco/core/data/ExecutionDataWriter.java
@@ -94,13 +94,17 @@ public class ExecutionDataWriter implements ISessionInfoVisitor,
}
}
- public void visitClassExecution(final ExecutionData data) {
+ // BEGIN android-change
+ public void visitClassExecution(final IExecutionData data) {
+ // END android-change
if (data.hasHits()) {
try {
out.writeByte(BLOCK_EXECUTIONDATA);
out.writeLong(data.getId());
out.writeUTF(data.getName());
- out.writeBooleanArray(data.getProbes());
+ // BEGIN android-change
+ out.writeBooleanArray(data.getProbesCopy());
+ // END android-change
} catch (final IOException e) {
throw new RuntimeException(e);
}