On Fri, 9 Jan 2026 13:41:22 GMT, SendaoYan <[email protected]> wrote: > Hi all, > > It seems that -Xcomp will compile all the java methods. And one of those > method trigger NULL_CHECK assert inside jvmti->GetMethodName function. The > method which trigger NULL_CHECK assert only observed when this test started > by jtreg. > So I think this test do not compatible with -Xcomp option. > > This PR add another "@requires'' to skip this test when jtreg receive -Xcomp > or -Xint option.
This pull request has now been integrated. Changeset: 2b1e11c2 Author: SendaoYan <[email protected]> URL: https://git.openjdk.org/jdk/commit/2b1e11c2541f799142bd71e9526cbd04743c6f4e Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod 8374879: NMethodRelocationTest fails with -Xcomp after 8369150 Reviewed-by: lmesnik, chagedorn ------------- PR: https://git.openjdk.org/jdk/pull/29139
