On Wed, 22 Apr 2026 11:12:10 GMT, Anton Artemov <[email protected]> wrote:

>> test/hotspot/jtreg/serviceability/jvmti/SuspendWithObjectMonitorTimedWait/SuspendWithObjectMonitorTimedWait.java
>>  line 175:
>> 
>>> 173:             status = DebugeeClass.TEST_FAILED;
>>> 174:             return status;
>>> 175:         }
>> 
>> Is this really a failure?
>
> Not really, but it is not a success either. With pass/fail binary logic 
> everything which is not a pass is a fail. So this should be a failure, as we 
> did not successfully tested what we intended to test.

I also think we should not report failure if we never caught the target at the 
desired point. If anything we could print a message to output.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30709#discussion_r3133429750

Reply via email to