-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
keep-openTells Stale Bot to keep PRs and issues openTells Stale Bot to keep PRs and issues open
Description
When we updated to Shadow 9.x our JMH testing pipeline stopped working, because the main class is missing in the JAR
[ec2-user@ip-172-31-62-197 ~]$ java -jar $JAR $BENCHMARK_TEST_REGEX -rf json
Error: Could not find or load main class org.openjdk.jmh.Main
Caused by: java.lang.ClassNotFoundException: org.openjdk.jmh.Main
[ec2-user@ip-172-31-62-197 ~]$ ls -l
total 124464
drwxr-xr-x. 3 ec2-user ec2-user 78 Aug 18 18:21 aws
-rw-rw-r--. 1 ec2-user ec2-user 62007172 Aug 19 00:08 awscliv2.zip
-rw-rw-r--. 1 ec2-user ec2-user 65438471 Aug 19 00:08 graphql-java-0.0.0-2025-08-19T00-05-59-46eb528-jmh.jar
[ec2-user@ip-172-31-62-197 ~]$
<rrent_date_iso8601=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
[ec2-user@ip-172-31-62-197 ~]$
<va-jmh-output/$current_date_iso8601-$SHA-jdk17.json
The user-provided path jmh-result.json does not exist.
This is a major breaking change version of Shadow, so multiple things may have changed. Let's investigate before updating to Shadow 9.x.
Metadata
Metadata
Assignees
Labels
keep-openTells Stale Bot to keep PRs and issues openTells Stale Bot to keep PRs and issues open