Tibor17 commented on a change in pull request #209: Surefire 1614
URL: https://github.com/apache/maven-surefire/pull/209#discussion_r241228365
 
 

 ##########
 File path: 
surefire-providers/surefire-junit-platform/src/main/java/org/apache/maven/surefire/junitplatform/JUnitPlatformProvider.java
 ##########
 @@ -104,22 +104,29 @@ public JUnitPlatformProvider( ProviderParameters 
parameters )
     public RunResult invoke( Object forkTestSet )
                     throws TestSetFailedException, ReporterException
     {
+        ReporterFactory reporterFactory = parameters.getReporterFactory();
 
 Review comment:
   @sormuras 
   I found the root cause. It was caused by calling method `scanClasspath()` 
before `startCapture`.
   Change your commit and use `try-finally` in the method `invoke` and use the 
code within `finally` block as before.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to