RFR: 8349358: [JMH] Cannot access class jdk.internal.vm.ContinuationScope [v2]
Alan Bateman
alanb at openjdk.org
Thu Mar 6 07:04:03 UTC 2025
On Thu, 6 Mar 2025 02:56:34 GMT, SendaoYan <syan at openjdk.org> wrote:
>> 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
Okay
-------------
Marked as reviewed by alanb (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23437#pullrequestreview-2663509747
More information about the core-libs-dev
mailing list