RFR: 8377035: [s390x] Disable JSR166 test cases which uses virtual threads

Alan Bateman alanb at openjdk.org
Thu Feb 5 10:03:37 UTC 2026


On Wed, 4 Feb 2026 06:40:38 GMT, Harshit470250 <duke at openjdk.org> wrote:

>  failing on s390 due to virtual threads which are not yet implemented on s390.

In other tests we use `@requires vm.continuations` to ensure the test is only selected when the VM has the support. You are looking to skip a small subset of the j.u.concurrent tests so I see how you got here. It could use the WB API to filter on whether VMContinuations is true or false but that would be disruptive to the test in that it would need setup and run with -XX:+WhiteBoxAPI. As a short term "fix" then using !Platform.isS390x() should be okay (this is preferred to use the os.name property).

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

PR Comment: https://git.openjdk.org/jdk/pull/29555#issuecomment-3852446429


More information about the core-libs-dev mailing list