[foreign-memaccess+abi] RFR: 8277945: Use snippets in jdk.incubator.foreign API documentation [v2]
Julia Boes
jboes at openjdk.java.net
Wed Dec 1 16:00:13 UTC 2021
On Wed, 1 Dec 2021 11:21:10 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Julia Boes has updated the pull request incrementally with one additional commit since the last revision:
>>
>> revert non Java snippets
>
> src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemoryLayout.java line 333:
>
>> 331: *
>> 332: * {@snippet :
>> 333: * offset = c_1 + c_2 + ... + c_m + (x_1 * s_1) + (x_2 * s_2) + ... + (x_n * s_n)
>
> not 100% sold on this being a snippet. Looking at it with javadoc, we have the "copy" button - but this is not a piece of code in any way (at the very least the language should not be java)
Right, I reverted the change for any non Java snippet.
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/621
More information about the panama-dev
mailing list