common: networking: fix IPv6(-only) support for Java
_Really_ not sure how anyone can take this piece of software even remotely seriously. Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
e1666f9ea9
commit
f9ee1532ab
|
@ -9,4 +9,12 @@
|
|||
logRefusedConnections = false;
|
||||
};
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
# https://bugs.openjdk.org/browse/JDK-8170568
|
||||
# https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/doc-files/net-properties.html
|
||||
# Apparently, Java does not seem to need to properly implement technology
|
||||
# introduced 25(!) years ago. And people call this mess "enterprise-ready" ..
|
||||
_JAVA_OPTIONS = "-Djava.net.preferIPv6Addresses=system";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue