[jdk21u-dev] RFR: 8313804: JDWP support for -Djava.net.preferIPv6Addresses=system

Goetz Lindenmaier goetz at openjdk.org
Mon Jun 9 20:12:28 UTC 2025


On Fri, 16 May 2025 15:54:24 GMT, Ilarion Nakonechnyy <inakonechnyy at openjdk.org> wrote:

>> Hi @Larry-N 
>> Can you please justify why you want to backport this, especially to 17?
>> It seems a day zero issue, and I think it's rather an enhancement than a bug.
>> Also, can you please have a look at https://wiki.openjdk.org/display/JDKUpdates/How+to+contribute+or+backport+a+fix
>> and also revisit your other backports?
>> Thanks!
>
> @GoeLin, The jtreg test com/sun/jdi/JdwpListenTest.java failing "ERROR: failed to attach" on linux-musl builds, for jdk21 and jdk17. 
> For the jdk24, the test passes smoothly. 
> It is both 8313804 and 8317804 that if applied together (since jdk23), solve the problem. 
> In jdk21 the 8317804 was already backported. 
> For jdk17 both of the fixes are absent.

Hi @Larry-N 
OK, you still miss a risk assesment. 
The change is limited to jdwp. It should only increase connectivity, right?
What happened if "system" was set, did the connection fail? What is the 
difference in bahaviour you will see if you update the JVM in a productive system,
especially for applications not running on musl?

-------------

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1773#issuecomment-2956893410


More information about the jdk-updates-dev mailing list