RFR: 7904141: JTReg should support running compact source files [v7]
Jaikiran Pai
jpai at openjdk.org
Thu Feb 19 15:57:07 UTC 2026
On Thu, 19 Feb 2026 07:47:09 GMT, Christian Stein <cstein at openjdk.org> wrote:
>> Please review this change that adds support for running [JEP 512: Compact Source Files and Instance Main Methods](https://openjdk.org/jeps/512) as jtreg `main` tests.
>>
>> This pull request also adds JDK 25 to the GHA-based CI workflow and updates to use newer GitHub actions: `actions/checkout at v6` and `actions/setup-java at v5`
>
> Christian Stein has updated the pull request incrementally with one additional commit since the last revision:
>
> Address review suggestions
Thank you Christian for all the updates. Overall this looks good to me. I've added a few minor comments inline. I see that only compact source files are being tested in these new tests. Can you also add a regular source file with non-public static void main and verify that it works too?
Something like:
class FooBar {
void main() {
}
}
-------------
PR Review: https://git.openjdk.org/jtreg/pull/313#pullrequestreview-3826784983
More information about the jtreg-dev
mailing list