On Fri, 20 Nov 2026 04:42:01 GMT, Leonid Mesnik <[email protected]> wrote:

>> test/hotspot/jtreg/serviceability/sa/TestContinuationEntry.java line 32:
>> 
>>> 30:  * @requires (os.arch == "amd64") | (os.arch == "x86_64") | (os.arch == 
>>> "aarch64") | (os.arch == "riscv64")
>>> 31:  * @requires (os.arch != "riscv64" | !(vm.cpu.features ~= ".*qemu.*"))
>>> 32:  * @requires vm.flagless
>> 
>> I see other SA tests, such as TestDefaultMethods.java, that use 
>> ProcessTools.createLimitedTestJavaProcessBuilder() in a similar way, but 
>> don't have vm.flagless. Are they different in some way and therefor don't 
>> use vm.flagless?
>
> Thank you for catching this. 
> 
> Indeed all these tests start 2 processes and one of them using 
> createLimitedTestJavaProcessBuilder() intentionally. 
> 
> I am using special branch flagless to find the tests ignoring flags. 
> https://github.com/lmesnik/jdk/commits/flagless/
> 
> And special problem list to track tests which ignore flags but don't need 
> vm.flagless.  It contains other SA similar tests, I added this test to the 
> list.

Not sure why being flagless would be wrong here? The main process is not really 
what is being tested, so if the launched process is flagless by virtue of the 
way it is created then why not make the overall test flagless?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33984#discussion_r4639179410

Reply via email to