RFR: 8294149: JMH 1.34 and later requires jopt-simple 5.0.4

Claes Redestad redestad at openjdk.org
Wed Sep 21 21:58:46 UTC 2022


JMH 1.34 changed to use jopt-simple 5.0.4. Running 1.34 or later a jopt-simple 4.6 works for most/all of our CI use cases, but breaks on things like `java -jar benchmarks.jar -h`, `-prof async:output=flamegraph` and many others.

Also updated jib-profiles.js to pick up the JMH 1.35 and tested our internal pipeline.

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

Commit messages:
 - Remove executable bit
 - JMH 1.34 and later requires jopt-simple 5.0.4

Changes: https://git.openjdk.org/jdk/pull/10380/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10380&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8294149
  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/10380.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10380/head:pull/10380

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



More information about the build-dev mailing list