Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8363949

Incorrect jtreg header in MonitorWithDeadObjectTest.java

XMLWordPrintable

    • b10

      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.

            aartemov Anton Artemov
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: