kalayciburak commented on code in PR #3464:
URL: https://github.com/apache/maven-surefire/pull/3464#discussion_r3975777483


##########
surefire-api/src/test/java/org/apache/maven/surefire/api/report/StackTraceProviderTest.java:
##########
@@ -142,4 +142,18 @@ void strategyWalkAppliesExcludePredicate() {
         assertThat(frames).noneMatch(frame -> 
frame.startsWith(StackWalkerStrategy.class.getName() + "#"));
         assertThat(frames.get(0)).isEqualTo(getClass().getName() + 
"#strategyWalkAppliesExcludePredicate");
     }
+
+    @Test
+    void getStackDoesNotThrowWhenContextClassLoaderIsNull() {
+        ClassLoader original = Thread.currentThread().getContextClassLoader();

Review Comment:
   added a tiny IT, same repro as on the issue (null TCCL thread + one 
println). pushed



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to