RFR: 7904002: @compile directives with args after file name fail after 7903955 [v2]

snake66 duke at openjdk.org
Tue May 6 17:53:26 UTC 2025


On Tue, 6 May 2025 15:48:07 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> snake66 has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add test case for @compile with trailing args
>
> 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?

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

PR Review Comment: https://git.openjdk.org/jtreg/pull/261#discussion_r2075984063


More information about the jtreg-dev mailing list