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

SendaoYan syan at openjdk.org
Tue Mar 4 15:36:03 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.

Should we remove these JMH tests, or just fix the test bug and make tests run normally

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

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


More information about the core-libs-dev mailing list