RFR: 8349358: [JMH] Cannot access class jdk.internal.vm.ContinuationScope [v2]
SendaoYan
syan at openjdk.org
Thu Mar 6 02:56:34 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.
SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
Remove test/micro/org/openjdk/bench/loom/obsolete/FreezeAndThaw.java test/micro/org/openjdk/bench/loom/obsolete/OneShot.java test/micro/org/openjdk/bench/loom/obsolete/Oscillation.java
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23437/files
- new: https://git.openjdk.org/jdk/pull/23437/files/fe58200d..6161b740
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23437&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23437&range=00-01
Stats: 505 lines in 3 files changed: 0 ins; 505 del; 0 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