RFR: 7904141: JTReg should support running compact source files [v6]

Jaikiran Pai jpai at openjdk.org
Wed Feb 18 15:28:56 UTC 2026


On Mon, 16 Feb 2026 09:05:50 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:
> 
>   Environment variable already exported

Sorry about the delay in reviewing this. The latest version looks clean, I have a few comments which I've added inline. I haven't paid close attention to MainMethodHelper implementation, but as long as it matches what we have in the JDK for determining the main method, I think that should be good.

I couldn't finish the review of the tests and will do that tomorrow.

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

PR Comment: https://git.openjdk.org/jtreg/pull/313#issuecomment-3921457335


More information about the jtreg-dev mailing list