RFR: 8304265: Implementation of Foreign Function and Memory API (Third Preview) [v10]

Per Minborg pminborg at openjdk.org
Tue Mar 28 13:14:10 UTC 2023


On Tue, 28 Mar 2023 12:36:28 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> src/java.base/share/classes/java/lang/foreign/MemorySegment.java line 2310:
>> 
>>> 2308:         /**
>>> 2309:          * {@return {@code true}, if the provided object is also a scope, which models the same lifetime as that
>>> 2310:          * modelled by this scope}. In that case, it is always the case that
>> 
>> This brace (after `scope`) seems spurious?
>
> It's to close the text span for the `{@return`

<img width="315" alt="image" src="https://user-images.githubusercontent.com/7457876/228246205-ff2730cb-610f-4673-aa30-d110845a34fc.png">

It belongs to the opening brace for `{@return`. Hard to see with other curls in between.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13079#discussion_r1150584776


More information about the nio-dev mailing list