RFR: 8366678: Use JUnit in test/langtools/tools/javac [v2]

Christian Stein cstein at openjdk.org
Thu Sep 4 05:49:43 UTC 2025


On Wed, 3 Sep 2025 13:42:25 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Christian Stein has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update copyright year
>
> test/langtools/tools/javac/file/MultiReleaseJar/MultiReleaseJarTest.java line 215:
> 
>> 213:     }
>> 214: 
>> 215:     public Object[][] createModes() {
> 
> This one technically can be removed in favor of `@EnumSource` but since you are using a script and we can be more lenient.

Yes; but cleaning up the overall test setup and logic isn't part of this change. The goal is to keep the change set as minimal as possible.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27046#discussion_r2320900792


More information about the compiler-dev mailing list