[jdk17u-dev] RFR: 8349974: [JMH,17u] MaskQueryOperationsBenchmark fails java.lang.NoClassDefFoundError

SendaoYan syan at openjdk.org
Thu Feb 13 09:26:06 UTC 2025


Hi all,

JMH tests org.openjdk.bench.jdk.incubator.vector.MaskQueryOperationsBenchmark report fails "java.lang.NoClassDefFoundError: jdk/incubator/vector/VectorSpecies" in jdk17u-dev repo.

This failure was fixed by [JDK-8284960](https://bugs.openjdk.org/browse/JDK-8284960) in main-line repo, I think it's not suitable backport [JDK-8284960](https://bugs.openjdk.org/browse/JDK-8284960) to jdk17u-dev. So I create this issue to fix failure.

Change has been verified locally, test-fix only, no risk.

Verify command:


build/linux-x86_64-server-release/images/jdk/bin/java -Djmh.ignoreLock=true -Djava.library.path=$PWD/build/linux-x86_64-server-release/images/test/micro/native --add-opens=java.base/java.io=ALL-UNNAMED --enable-native-access=ALL-UNNAMED --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/sun.security.provider=ALL-UNNAMED --add-opens java.base/com.sun.crypto.provider=ALL-UNNAMED -jar $PWD/build/linux-x86_64-server-release/images/test/micro/benchmarks.jar -jvmArgsPrepend -Djava.library.path=$PWD/build/linux-x86_64-server-release/images/test/micro/native -t 1 -f 1 -wi 2 org.openjdk.bench.jdk.incubator.vector.MaskQueryOperationsBenchmark.testFirstTrueByte

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

Commit messages:
 - 8349974: [JMH,17u] MaskQueryOperationsBenchmark fails java.lang.NoClassDefFoundError

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3277


More information about the jdk-updates-dev mailing list