RFR: 8363949: Incorrect jtreg header in MonitorWithDeadObjectTest.java
Stefan Karlsson
stefank at openjdk.org
Tue Jul 29 09:57:54 UTC 2025
On Tue, 29 Jul 2025 09:18:40 GMT, Anton Artemov <duke at openjdk.org> wrote:
> 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.
I think the JBS issue summary needs to be updated to reflect that it is the `@requires` tag that is problematic and not the `@bug` tag.
I'm also wondering if there's anything we need to do to our test infrastructure to find these issues automatically? As I understand it, this was only found because @TobiHartmann went and manually tried to find issues like this. Maybe @lmesnik has some insights here or knows someone who deals with this part of the test infra.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26527#issuecomment-3131650470
More information about the hotspot-runtime-dev
mailing list