joseluisll opened a new issue, #3456:
URL: https://github.com/apache/maven-surefire/issues/3456

   ### Affected version
   
   3.6.0
   
   ### Bug description
   
   Surefire 3.6.0 initialises the fork's NIO/native networking layer before 
applying systemPropertyVariables, so any property read during that 
initialisation — like java.net.preferIPv4Stack — arrives too late. If a project 
uses systemPropertyVariables,  the failure is silent and environment-dependent, 
and surfaces far from its cause. Code search suggests a bounded but non-trivial 
population shares the pattern (~830 poms co-mentioning the property and 
systemPropertyVariables, including activemq, ratis, tomee and infinispan).
   
   I encountered this bug upgrading the pluging in hadoop, that uses the 
variable preferIPv4Stack but the fork initializes the IPv6 Stack ignoring the 
variable.
   
   Found working in HADOOP-19964. 
   
   I use AI assistance to perform the coding work.
   


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