From duke at openjdk.org Sun Feb 1 22:35:19 2026 From: duke at openjdk.org (Fabrice Bibonne) Date: Sun, 1 Feb 2026 22:35:19 GMT Subject: RFR: Specify explicitly jmh-generator-annprocess as an annotation processor in jmh-samples pom.xml Message-ID: When building **with maven** jmh-samples with a jdk version 22+ , the annotation processor jmh-generator-annprocess is not executed and files and classes generated by jmh are not included in the jar. Then there is an error at runtime when trying to execute samples with command line such as `java -jar target/benchmarks.jar JMHSample_01` : `Exception in thread "main" java.lang.RuntimeException: ERROR: Unable to find the resource: /META-INF/BenchmarkList` This error happens because the jmh-sample pom.xml does not explicitly set jmh-generator-annprocess as an annotation processor path. This PR aims to correct this issue like the PR #125 ------------- Commit messages: - fix (samples with java > 22) Changes: https://git.openjdk.org/jmh/pull/165/files Webrev: https://webrevs.openjdk.org/?repo=jmh&pr=165&range=00 Stats: 13 lines in 1 file changed: 7 ins; 6 del; 0 mod Patch: https://git.openjdk.org/jmh/pull/165.diff Fetch: git fetch https://git.openjdk.org/jmh.git pull/165/head:pull/165 PR: https://git.openjdk.org/jmh/pull/165 From duke at openjdk.org Sun Feb 1 23:22:57 2026 From: duke at openjdk.org (Symious) Date: Sun, 1 Feb 2026 23:22:57 GMT Subject: RFR: Fix overflow of integer Message-ID: This ticket is to fix the overflow issue of Integer, which is causing the `measureRight` benchmark to fail. ------------- Commit messages: - Fix overflow of integer Changes: https://git.openjdk.org/jmh/pull/167/files Webrev: https://webrevs.openjdk.org/?repo=jmh&pr=167&range=00 Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jmh/pull/167.diff Fetch: git fetch https://git.openjdk.org/jmh.git pull/167/head:pull/167 PR: https://git.openjdk.org/jmh/pull/167 From duke at openjdk.org Sun Feb 1 23:23:21 2026 From: duke at openjdk.org (Symious) Date: Sun, 1 Feb 2026 23:23:21 GMT Subject: RFR: Specify arch version in mvn command Message-ID: `mvn archetype:generate` will be using the default "0.5" version, but it's not compatible with new JDKs (JDK21 can not run successfully in my case). This change is to specify the version to the latest JMH arch version as "1.37", tested works well both with JDK8 and JDK21. ------------- Commit messages: - Specify arch version in mvn command Changes: https://git.openjdk.org/jmh/pull/166/files Webrev: https://webrevs.openjdk.org/?repo=jmh&pr=166&range=00 Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jmh/pull/166.diff Fetch: git fetch https://git.openjdk.org/jmh.git pull/166/head:pull/166 PR: https://git.openjdk.org/jmh/pull/166