RFR: 8344942: Template-Based Testing Framework [v9]
Emanuel Peter
epeter at openjdk.org
Wed May 7 20:20:56 UTC 2025
On Wed, 7 May 2025 12:26:45 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> test/hotspot/jtreg/testlibrary_tests/template_framework/examples/TestTutorial.java line 105:
>>
>>> 103: // Lists of Tokens are also allowed:
>>> 104: List.of("int ", "d = 5", ";\n"),
>>> 105: // That can be great for streaming / mapping over an existing list:
>>
>> By "that" you just mean the following line? Maybe rephrase to: "We can also stream / map over an existing list or one created on the fly:
>
> haha, now we kinda removed the list, since we are doing stream direclty. I think I will revert your suggestion here, back to `List.of().stream`, just to make clear that we can do all of that.
haha, now we kinda removed the list, since we are doing stream direclty. I think I will revert your suggestion here, back to `List.of().stream`, just to make clear that we can do all of that.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24217#discussion_r2078426855
More information about the hotspot-compiler-dev
mailing list