Running test/hotspot/jtreg/runtime/Monitor/MonitorWithDeadObjectTest.java fails with
Error: Not a test or directory containing tests: runtime/Monitor/MonitorWithDeadObjectTest.java
Because the jtreg header lists the @bug before the @test.
UPD: It is the @requires tag which causes the problem, not the @bug. It is sufficient to place @requires right after @test, which should be the 1st tag for every test.
Error: Not a test or directory containing tests: runtime/Monitor/MonitorWithDeadObjectTest.java
Because the jtreg header lists the @bug before the @test.
UPD: It is the @requires tag which causes the problem, not the @bug. It is sufficient to place @requires right after @test, which should be the 1st tag for every test.
- caused by
-
JDK-8320515 assert(monitor->object_peek() != nullptr) failed: Owned monitors should not have a dead object
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/c4fbfa21
-
Review(master) openjdk/jdk/26527