Commit ef7db8d
[release/9.0] Disable Datagram_UDP_AccessDenied_Throws_DoesNotBind on all macOS/MacCatalyst (#125568)
## Summary
macOS 15+ returns `EHOSTUNREACH` instead of `EACCES` for UDP broadcast
without `SO_BROADCAST` due to Apple's [Local Network privacy
feature](https://developer.apple.com/forums/thread/765285). The test
expects `SocketError.AccessDenied` but gets
`SocketError.HostUnreachable`.
The existing `ActiveIssue` (from #113313) only disabled on MacCatalyst
x64. The failure affects all macOS 15+ platforms — confirmed on
`osx.15.amd64` in both coreclr and Mono legs in
[#125564](#125564).
## Change
Broadens the `ActiveIssue` from:
```csharp
[ActiveIssue("...", typeof(PlatformDetection), nameof(PlatformDetection.IsMacCatalyst), nameof(PlatformDetection.IsX64Process))]
```
to:
```csharp
[ActiveIssue("...", TestPlatforms.OSX | TestPlatforms.MacCatalyst)]
```
@ManickaP requested this backport in
#114450 (comment).
Fixes #114450 on release/9.0.
cc @liveans @kotlarmilos @ManickaP
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 76cf203 commit ef7db8d
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments