On Sun, 26 Oct 2025 21:33:08 GMT, Leonid Mesnik <[email protected]> wrote:

> These tests nsk/jvmti/RedefineClasses
> redefclass028.cpp
> redefclass029.cpp
> redefclass030.cpp
> try to provoke compilation of certain methds and exit if CompileMethodLoad 
> event are not received
> with `exit(95 + PASS)`
> 
> Before exit they also try to resume java using
> `nsk_jvmti_resumeSync();`
> The java is not suspended so this resume is failing. Currently, the failure 
> is silently ignored now but going to fail after
> https://bugs.openjdk.org/browse/JDK-8352654
> is fixed. This situation might happen with -Xcomp or other similar flags the 
> might change compilation order.  The complete fix would be to understand if 
> we should run test in all modes and have strict check or throw 
> SkippedException. But it requires much more effort.

This looks okay to me. Thank you for catching it!

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27992#pullrequestreview-3386070658

Reply via email to