On Thu, 19 Nov 2026 22:19:50 GMT, Leonid Mesnik <[email protected]> wrote:
> There are few tests that create new VM with specific flags and ignore flags > given to jtreg. > > It looks that it is reasonable to ignore the the jtreg flags for these tests, > so I added > `requires vm.flagless` > > Tested by running tests and tier1. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). 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? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/33984#discussion_r4637771679
