kwart commented on PR #767:
URL: https://github.com/apache/maven/pull/767#issuecomment-1182239385

   > I am not convinced by this. It should throw an IAE here. I would expect to 
fix the source.
   
   To me, it seems like the safest approach.
   
   Another place to put the fix would be the 
[MavenCli.calculateDegreeOfConcurrencyWithCoreMultiplier(...)](https://github.com/apache/maven/blob/maven-3.8.6/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java#L1613-L1617)
 method, but I like the protection in the config object more as it handles more 
cases without doing harm. 
   
   Still, if you request the change, I can move the fix to the 
`calculateDegreeOfConcurrencyWithCoreMultiplier(...)` method.


-- 
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

Reply via email to