RFR: 8331164: createJMHBundle.sh download jars fail when url needed to be redirected

Jaikiran Pai jpai at openjdk.org
Fri Apr 26 08:57:34 UTC 2024


On Fri, 26 Apr 2024 03:32:25 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi,
> 
>   The curl command lack of "-L" option, cause download file fail, the size of download file is empty.
> 
> ![image](https://github.com/openjdk/jdk/assets/24123821/7b5471ae-8e00-4a06-a327-7186c42bd6a6)
> 
>   Only change devkit shell script, the risk is low.

Hello @sendaoYan, who is adding the 302 redirect to that jar location and to which location is the URL being redirected to? What does `curl -v -O  <the-url>` show in the logs (please paste the textual logs instead of an image).

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

PR Comment: https://git.openjdk.org/jdk/pull/18965#issuecomment-2078940654


More information about the build-dev mailing list