diff --git a/pitest-entry/src/main/java/org/pitest/mutationtest/build/intercept/javafeatures/InlinedFinallyBlockFilter.java b/pitest-entry/src/main/java/org/pitest/mutationtest/build/intercept/javafeatures/InlinedFinallyBlockFilter.java index b7040ab28..1e7e49d32 100644 --- a/pitest-entry/src/main/java/org/pitest/mutationtest/build/intercept/javafeatures/InlinedFinallyBlockFilter.java +++ b/pitest-entry/src/main/java/org/pitest/mutationtest/build/intercept/javafeatures/InlinedFinallyBlockFilter.java @@ -1,5 +1,6 @@ package org.pitest.mutationtest.build.intercept.javafeatures; +import static java.util.stream.Collectors.joining; import static org.pitest.functional.FCollection.bucket; import static org.pitest.functional.FCollection.map; import static org.pitest.functional.FCollection.mapTo; @@ -107,7 +108,12 @@ private void checkForInlinedCode(final Collection combined, private boolean isPossibleToCorrectInlining( final List mutationsInHandlerBlock) { if (mutationsInHandlerBlock.size() > 1) { - LOG.warning("Found more than one mutation similar on same line in a finally block. Can't correct for inlining."); + LOG.warning("Found more than one mutation similar on same line in a finally block. " + + "Can't correct for inlining.\n\t" + + mutationsInHandlerBlock + .stream() + .map(Object::toString) + .collect(joining("\n\t"))); return false; }