On Thu, 13 Nov 2025 20:34:46 GMT, Daniel D. Daugherty <[email protected]> 
wrote:

>> test/hotspot/jtreg/serviceability/jvmti/SuspendWithObjectMonitorWait/SuspendWithObjectMonitorWait.java
>>  line 31:
>> 
>>> 29:  * @library /test/lib
>>> 30:  * @compile SuspendWithObjectMonitorWait.java
>>> 31:  * @run main/othervm/native -agentlib:SuspendWithObjectMonitorWait 
>>> SuspendWithObjectMonitorWait 1
>> 
>> Note that these passed values are overriding timeMax.
>
> The addition of the test number should have been done as a required parameter.
> That would push the optional timeMax parameter to be the optional second 
> parameter.

Addressed in the latest commit. I did not figure out how to do it with jtreg, 
made it instead right in the test code.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27040#discussion_r2527248823

Reply via email to