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 option. ------------- Commit messages: - 8374879: NMethodRelocationTest fails with -Xcomp after 8369150 Changes: https://git.openjdk.org/jdk/pull/29139/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29139&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8374879 Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/29139.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29139/head:pull/29139 PR: https://git.openjdk.org/jdk/pull/29139
