[jdk25u-dev] RFR: 8363949: Incorrect jtreg header in MonitorWithDeadObjectTest.java

Roland Mesde duke at openjdk.org
Wed Feb 11 20:26:47 UTC 2026


Backporting JDK-8363949: Incorrect jtreg header in MonitorWithDeadObjectTest.java.

This PR fixes the MonitorWithDeadObjectTest.java jtreg header by moving @test tag to first position, resolving "Not a test or directory containing tests" error caused by @requires appearing before @test.

For parity with Oracle JDK.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

make test TEST=test/hotspot/jtreg/runtime/Monitor/MonitorWithDeadObjectTest.java

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

Commit messages:
 - Backport c4fbfa21030c9a0e8a3e0eed1b0a0988eba08ddb

Changes: https://git.openjdk.org/jdk25u-dev/pull/258/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=258&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8363949
  Stats: 6 lines in 1 file changed: 3 ins; 3 del; 0 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/258.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/258/head:pull/258

PR: https://git.openjdk.org/jdk25u-dev/pull/258


More information about the jdk-updates-dev mailing list