Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jdk17u
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
einsteinathome
openjdk
jdk17u
Commits
9ef505de
Commit
9ef505de
authored
Jul 25, 2024
by
Suchismith Roy
Committed by
Paul Hohensee
Jul 25, 2024
Browse files
Options
Downloads
Patches
Plain Diff
8315651: Stop hiding AIX specific multicast socket errors via NetworkConfiguration (aix)
Backport-of: e22eb06a3b59f83eb38881f7e1aed1c18ee7e193
parent
269bd25d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/lib/jdk/test/lib/NetworkConfiguration.java
+1
-12
1 addition, 12 deletions
test/lib/jdk/test/lib/NetworkConfiguration.java
with
1 addition
and
12 deletions
test/lib/jdk/test/lib/NetworkConfiguration.java
+
1
−
12
View file @
9ef505de
/*
/*
* Copyright (c) 2017, 202
1
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 202
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -176,17 +176,6 @@ public class NetworkConfiguration {
...
@@ -176,17 +176,6 @@ public class NetworkConfiguration {
return
false
;
return
false
;
}
}
// On AIX there is a bug:
// When IPv6 is enabled on the system, the JDK opens sockets as AF_INET6.
// If there's an interface configured with IPv4 addresses only, it should
// be able to become the network interface for a multicast socket (that
// could be in both, IPv4 or IPv6 space). But both possible setsockopt
// calls for either IPV6_MULTICAST_IF or IP_MULTICAST_IF return
// EADDRNOTAVAIL. So we must skip such interfaces here.
if
(
Platform
.
isAix
()
&&
isIPv6Available
()
&&
!
hasIp6Addresses
(
nif
))
{
return
false
;
}
if
(
Platform
.
isOSX
())
{
if
(
Platform
.
isOSX
())
{
// multicasting may not work on interfaces that only
// multicasting may not work on interfaces that only
// have link local addresses
// have link local addresses
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment