On Thu, 16 Oct 2025 02:40:12 GMT, Leonid Mesnik <[email protected]> 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

Reply via email to