RFR: 7904002: @compile directives with args after file name fail after 7903955 [v2]
Christian Stein
cstein at openjdk.org
Wed May 7 05:32:24 UTC 2025
On Tue, 6 May 2025 17:51:08 GMT, snake66 <duke at openjdk.org> wrote:
>> test/javacVMOptions/Test.java line 28:
>>
>>> 26: * @compile Test.java
>>> 27: * @compile -J-DmyProperty=123 -processor Test -proc:only Test.java
>>> 28: * @compile Test.java -XDrawDiagnostic
>>
>> Please, also insert a line reading ` * @bug 7902510 7904002` under the ` * @test` line.
>>
>> And update the copyright years to read: `* Copyright (c) 2019, 2025, Oracle and/or its affiliates. All rights reserved.`
>
> Sure!
>
> Would it be better to add a separate test case for it instead of just adding another `@compile` line to this one?
Doesn't have to be a dedicated test per issue; as long as the issue numbers are recorded via the `@bug` tag. Bonus points for adding `@comment` lines.
-------------
PR Review Comment: https://git.openjdk.org/jtreg/pull/261#discussion_r2076816151
More information about the jtreg-dev
mailing list