You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "joseluisll (via GitHub)" <gi...@apache.org> on 2026/09/04 14:41:43 UTC
[I] java.net.preferIPv4Stack set via systemPropertyVariables is ignored since 3.6.0 [maven-surefire]
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: issues-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Regression] java.net.preferIPv4Stack set via systemPropertyVariables is ignored since 3.6.0 [maven-surefire]
Posted by "olamy (via GitHub)" <gi...@apache.org>.
olamy closed issue #3456: [Regression] java.net.preferIPv4Stack set via systemPropertyVariables is ignored since 3.6.0
URL: https://github.com/apache/maven-surefire/issues/3456
--
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-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org