Fix failures caused by Jacoco syncthetic methods
Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
283ec57641
commit
ad2064d8a5
|
@ -88,7 +88,7 @@ public class SplitLogCounters {
|
|||
public static void resetCounters() throws Exception {
|
||||
Class<?> cl = (new SplitLogCounters()).getClass();
|
||||
for (Field fld : cl.getDeclaredFields()) {
|
||||
((AtomicLong)fld.get(null)).set(0);
|
||||
if (!fld.isSynthetic()) ((AtomicLong)fld.get(null)).set(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue