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 
> option.

I thought that
vm.compMode != "Xcomp"
should be enough. 
Should n't vm.compMode != "Xcomp"  be true when it is null?

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

Marked as reviewed by lmesnik (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29139#pullrequestreview-3645013770

Reply via email to