On Wed, 31 Jan 2024 14:51:34 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

>> This PR fixes a typo in the documentation for the `Arena::ofShared`.
>
> src/java.base/share/classes/java/lang/foreign/Arena.java line 261:
> 
>> 259: 
>> 260:     /**
>> 261:      * {@return a new shared arena} Segments allocated with the shared 
>> arena can be
> 
> Suggestion:
> 
>      * {@return a new shared arena} Segments allocated with a shared arena 
> can be

There is a similar issue in the javadoc of `ofConfined`, which also uses `the` 
instead of `a`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17653#discussion_r1472943087

Reply via email to