Integrated: 8300997: Add curl support to createJMHBundle.sh
Eirik Bjorsnos
duke at openjdk.org
Wed Jan 25 14:04:15 UTC 2023
On Tue, 24 Jan 2023 09:39:19 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:
> Please review this PR which updates make/devkit/createJMHBundle.sh to add support for curl instead of wget when downloading JMH dependencies.
>
> This would reduce friction for MacOS devs who would like to run micros without installing wget first.
>
> File download is extracted to a function taking the Maven directory, artifactId and version as input. The function builds the correct download URL and checks which of curl / wget is available.
>
> Tested on MacOS 12.6.2 and Ubuntu 20.
This pull request has now been integrated.
Changeset: 61775c85
Author: Eirik Bjorsnos <eirbjo at gmail.com>
Committer: Erik Joelsson <erikj at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/61775c85b0989e4de310290e9441851f32cb84a3
Stats: 17 lines in 1 file changed: 12 ins; 0 del; 5 mod
8300997: Add curl support to createJMHBundle.sh
Reviewed-by: erikj
-------------
PR: https://git.openjdk.org/jdk/pull/12164
More information about the build-dev
mailing list