RFR: 8307409: Refactor usage examples to use @snippet in the java.nio packages [v3]

Brian Burkhalter bpb at openjdk.org
Wed May 10 16:57:29 UTC 2023


On Wed, 10 May 2023 16:34:33 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> src/java.base/share/classes/java/nio/X-Buffer.java.template line 2198:
>> 
>>> 2196:      * then the identities
>>> 2197:      * {@snippet lang=java :
>>> 2198:      *     alignmentOffset(index - value, unitSize) == 0, value ≤ index
>> 
>> There is html for less-than, greater-than, etc. in many of the examples that will need be changed too.
>
> I don't see any HTML entities that leaked through in this file aside from this one.

Hopefully https://github.com/openjdk/jdk/pull/13870/commits/ef684901584386084c88ed291c868c2e8129050b caught them all.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13870#discussion_r1190168809


More information about the nio-dev mailing list