This is a follow-up bug to JDK-8292549, which disabled downloading Apache ant from archive.apache.org on macOS platforms, using the system ant instead.
The likely reason for this failure on macOS is that requests to the main archive.apache.org download site from the same IP address can hit a limit imposed by that site. This means that we could possibly see such failures in the future on our Linux and Windows systems, too. If we run into problems on Linux or Windows, we should consider some other solution, such as downloading from a mirror site or, in the case of Linux, getting ant from the configured package repository (as we do for other software).
The likely reason for this failure on macOS is that requests to the main archive.apache.org download site from the same IP address can hit a limit imposed by that site. This means that we could possibly see such failures in the future on our Linux and Windows systems, too. If we run into problems on Linux or Windows, we should consider some other solution, such as downloading from a mirror site or, in the case of Linux, getting ant from the configured package repository (as we do for other software).
- relates to
-
JDK-8292549 GitHub actions: intermittent build failure on macOS while downloading ant
-
- Resolved
-