RFR: 8308016: Use snippets in java.io package [v2]
Brian Burkhalter
bpb at openjdk.org
Thu May 18 17:01:54 UTC 2023
On Wed, 17 May 2023 15:50:13 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> src/java.base/share/classes/java/io/RandomAccessFile.java line 904:
>>
>>> 902: * {@code b7}, and {@code b8,} where:
>>> 903: * {@snippet lang=java :
>>> 904: * 0 <= b1, b2, b3, b4, b5, b6, b7, b8 <= 255,
>>
>> Same: this is not Java language syntax. Code or pre tags are fine here, they are not deprecated.
>
> I would keep the snippet markup but change the language to "text"; removing the expectation of language support.
> The benefits of a consistent look are still desirable.
Changed to unspecified language in 8ae42cf24b931d21dc643d233f33d4ccc5b32d6f.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13957#discussion_r1198061816
More information about the security-dev
mailing list