RFR: 8337851: Some tests have name which confuse jtreg [v3]

Alexey Ivanov aivanov at openjdk.org
Tue Aug 27 12:58:09 UTC 2024


On Fri, 23 Aug 2024 22:14:12 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> With my official `jtreg` hat on, I recommend always placing the `jtreg` tags immediately after any legal header comments and _before_ any and all of the source code that comprises the test.

@jonathan-gibbons Are there any disadvantages to placing jtreg tags right before the test class declaration, after all the import statements? It is more convenient when viewing test code in IDE: the jtreg tags are clearly visible. If the tags are after the legal header, they're collapsed together with the legal header (and imports).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20475#discussion_r1732798992


More information about the compiler-dev mailing list