Integrated: 8349358: [JMH] Cannot access class jdk.internal.vm.ContinuationScope

SendaoYan syan at openjdk.org
Thu Mar 6 07:04:05 UTC 2025


On Tue, 4 Feb 2025 12:35:50 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.

This pull request has now been integrated.

Changeset: 5c552a9d
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5c552a9d64c8116161cb9ef4c777e75a2602a75b
Stats:     505 lines in 3 files changed: 0 ins; 505 del; 0 mod

8349358: [JMH] Cannot access class jdk.internal.vm.ContinuationScope

Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/23437


More information about the core-libs-dev mailing list