RFR: 8363949: Incorrect jtreg header in MonitorWithDeadObjectTest.java

Anton Artemov duke at openjdk.org
Tue Jul 29 09:48:11 UTC 2025


Hi, please consider the following changes:

the mentioned test fails if run standalone with the following error: 
Error: Not a test or directory containing tests: runtime/Monitor/MonitorWithDeadObjectTest.java

The order of jtreg tags is not correct, to make it pass standalone it is sufficient to put @test first in each test.

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

Commit messages:
 - 8363949: Placed test annotation before requires annotation in the MonitorWithDeadObjectTest

Changes: https://git.openjdk.org/jdk/pull/26527/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26527&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/jdk/pull/26527.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26527/head:pull/26527

PR: https://git.openjdk.org/jdk/pull/26527


More information about the hotspot-runtime-dev mailing list