RFR: 8300997: Add curl support to createJMHBundle.sh
Erik Joelsson
erikj at openjdk.org
Tue Jan 24 13:53:43 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.
Marked as reviewed by erikj (Reviewer).
Filed https://bugs.openjdk.org/browse/JDK-8300997
-------------
PR: https://git.openjdk.org/jdk/pull/12164
More information about the build-dev
mailing list