RFR: 8349358: [JMH] Cannot access class jdk.internal.vm.ContinuationScope
SendaoYan
syan at openjdk.org
Tue Feb 4 12:42:47 UTC 2025
Hi all,
Several JMH tests fails "cannot access class jdk.internal.vm.ContinuationScope (in module java.base) because module java.base does not export jdk.internal.vm to unnamed module". This PR add VM option `--add-exports=java.base/jdk.internal.vm=ALL-UNNAMED` to fix the JMH test bug.
Change has been verified locally, test-fix only, no risk.
-------------
Commit messages:
- 8349358: [JMH] Cannot access class jdk.internal.vm.ContinuationScope
Changes: https://git.openjdk.org/jdk/pull/23437/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23437&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8349358
Stats: 6 lines in 3 files changed: 0 ins; 0 del; 6 mod
Patch: https://git.openjdk.org/jdk/pull/23437.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23437/head:pull/23437
PR: https://git.openjdk.org/jdk/pull/23437
More information about the core-libs-dev
mailing list