From 0479641d10c968adee044050a5f9585a0abd94e0 Mon Sep 17 00:00:00 2001 From: katherine-hough <32645020+katherine-hough@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:59:56 -0400 Subject: [PATCH] * Added JaCoCo option to include classes from the bootstrap classloader if JCL coverage is included --- .../src/main/java/edu/neu/ccs/prl/meringue/CoverageFilter.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meringue-maven-plugin/src/main/java/edu/neu/ccs/prl/meringue/CoverageFilter.java b/meringue-maven-plugin/src/main/java/edu/neu/ccs/prl/meringue/CoverageFilter.java index 93ecdf7..89d3442 100644 --- a/meringue-maven-plugin/src/main/java/edu/neu/ccs/prl/meringue/CoverageFilter.java +++ b/meringue-maven-plugin/src/main/java/edu/neu/ccs/prl/meringue/CoverageFilter.java @@ -110,6 +110,9 @@ public String getJacocoOption() { if (!includeString.isEmpty()) { opt += ",includes=" + includeString; } + if (javaExecutable != null) { + opt += ",inclbootstrapclasses=true"; + } return opt; }