[lworld] RFR: 8373567: [lworld] Move array copy exception throwing out of GC barriers [v2]
Axel Boldt-Christmas
aboldtch at openjdk.org
Tue Dec 16 07:44:34 UTC 2025
On Tue, 16 Dec 2025 07:40:27 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
>> I added the last sentence but I'm a little bit uncertain about the grammar. Feel free to nit-pick if it sounds weird.
>
> In C++20 we can have the message be part of the attribute. `[[nodiscard("The caller is responsible to throw an exception on failure")]]`
But the way it says `// The caller is responsible to thow an exception on failure` now. There is an typo.
Maybe `It is the caller's responsibility to throw an exception on failure` or `The caller is responsible for throwing an exception on failure`
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1792#discussion_r2622157678
More information about the valhalla-dev
mailing list