RFR: 7904122: Compilation of jasm files leads to class file version warning
Jaikiran Pai
jpai at openjdk.org
Fri Dec 12 09:39:42 UTC 2025
On Fri, 12 Dec 2025 09:20:44 GMT, Christian Stein <cstein at openjdk.org> wrote:
>> Hello Christian, I wouldn't expect any other warning message and if there is one, I think we shouldn't allow that warning to fail this test. This test is merely interested in verifying that the class file version check warning message is not logged.
>
> Okay.
>
> Yet, with such a broader assertion, we would have caught the issue with compiling `.jasm` files earlier.
We would have to narrow down the "grep" to specific lines in that jtr file to be sure that only warning(s) from the `@compile <file>.jasm` action are considered in that check. That will require some grep skills. I can experiment with it, if you prefer we check for other warnings too.
-------------
PR Review Comment: https://git.openjdk.org/jtreg/pull/303#discussion_r2613563130
More information about the jtreg-dev
mailing list