RFR: 8367005: ImageReader refactor caused performance regressions for startup and footprint [v6]
David Beaumont
duke at openjdk.org
Fri Sep 12 11:46:23 UTC 2025
On Fri, 12 Sep 2025 10:14:40 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
>> David Beaumont has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Tweaked comment.
>
> test/jdk/jdk/internal/jimage/ImageReaderTest.java line 150:
>
>> 148: @ValueSource(strings = {
>> 149: // Absolute resource names are not allowed.
>> 150: "modfoo:/com/bar/One.class",
>
> JUnit jupiter also has a `CsvSource` https://docs.junit.org/current/api/org.junit.jupiter.params/org/junit/jupiter/params/provider/CsvSource.html#example-heading which allows these params to be represented individually. So something like:
>
>
> @CsvSource ({
> "modfoo, /com/bar/One.class",
> "modfoo, com/foo/Alpha.class",
> ...
> })
> testFindResourceNode_absent(String module, String path)
>
>
> If you prefer it in the current form, that's fine too.
Interesting, "CSV" is not where I'd have looked for that functionality.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27203#discussion_r2343942185
More information about the core-libs-dev
mailing list