Tibor17 commented on a change in pull request #452: URL: https://github.com/apache/maven-surefire/pull/452#discussion_r794487726
########## File path: surefire-api/src/main/java/org/apache/maven/surefire/api/report/LegacyPojoStackTraceWriter.java ########## @@ -81,10 +79,15 @@ public String smartTrimmedStackTrace() result.append( "#" ); result.append( testMethod ); SafeThrowable throwable = getThrowable(); + final String excClassName = throwable.getTarget().getClass().getName(); if ( throwable.getTarget() instanceof AssertionError ) + if ( throwable.getTarget() instanceof AssertionError Review comment: This `if ( ... )` is a pure trojan horse. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org