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

Alan Bateman alanb at openjdk.org
Tue Feb 4 13:33:09 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.

These are left over from early development, need to decide if they should be removed.

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

PR Comment: https://git.openjdk.org/jdk/pull/23437#issuecomment-2633939977


More information about the core-libs-dev mailing list