RFR: 8348844: Remove remaining JVMTI tests from ProblemList-Virtual, use requires instead [v2]

Alan Bateman alanb at openjdk.org
Thu Oct 16 05:39:01 UTC 2025


On Thu, 16 Oct 2025 02:40:12 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> For most if not all cases the reason is Security Manager removal. The tests failed to obtain permissions from virtual threads.

Right, virtual threads did not capture the caller context (inherited AccessControlContext) and had no permissions when executing code that performed a privileged action. This is why some of the pre-existing tests that ran with a security manager couldn't run with JTREG_TEST_THREAD_FACTORY=Virtual.

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

PR Comment: https://git.openjdk.org/jdk/pull/27834#issuecomment-3409247117


More information about the core-libs-dev mailing list