Skip to content

Commit 0ac1bb7

Browse files
committed
8317804: com/sun/jdi/JdwpAllowTest.java fails on Alpine 3.17 / 3.18
Backport-of: b530c0281b5082994065b10addeb8366ffa58e2f
1 parent 9b5cd9d commit 0ac1bb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1998, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -755,7 +755,7 @@ socketTransport_startListening(jdwpTransportEnv* env, const char* address,
755755

756756
if (isEqualIPv6Addr(listenAddr, mappedAny)) {
757757
for (ai = addrInfo; ai != NULL; ai = ai->ai_next) {
758-
if (isEqualIPv6Addr(listenAddr, in6addr_any)) {
758+
if (isEqualIPv6Addr(ai, in6addr_any)) {
759759
listenAddr = ai;
760760
break;
761761
}

0 commit comments

Comments
 (0)