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.

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

Commit messages:
 - Revert unrelated change to rm command
 - Update copyright year
 - Add curl support to createJMHBundle

Changes: https://git.openjdk.org/jdk/pull/12164/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12164&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300997
  Stats: 17 lines in 1 file changed: 12 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/12164.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12164/head:pull/12164

PR: https://git.openjdk.org/jdk/pull/12164

Reply via email to