RFR: 8319567: Update java/lang/invoke tests to support vm flags [v3]
Mandy Chung
mchung at openjdk.org
Thu Nov 16 18:20:04 UTC 2023
> This PR includes test fixes for the following issues:
>
> 8319567: Update java/lang/invoke tests to support vm flags
> 8319568: Update java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java to accept vm flags
> 8319672: Several classloader tests ignore VM flags
> 8319676: A couple of jdk/modules/incubator/ tests ignore VM flags
> 8319677: Test jdk/internal/misc/VM/RuntimeArguments.java should be marked as flagless
>
> It converts the test to use `ProcessTools::createTestJavaProcessBuilder` or `createNativeTestJavaProcessBuilder` so that the test will support VM flags passed to jtreg. A couple tests that ignore VM flags should use `ProcessTools::createLimtiedTestJavaProcessBuilder` and marks the test with `@requires vm.flagless`.
Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
mark DefaultImage test vm.flagless
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16666/files
- new: https://git.openjdk.org/jdk/pull/16666/files/e69f048b..91936779
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16666&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16666&range=01-02
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/16666.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16666/head:pull/16666
PR: https://git.openjdk.org/jdk/pull/16666
More information about the core-libs-dev
mailing list