RFR: 8264779: Fix doclint warnings in java/nio [v2]

Alan Bateman alanb at openjdk.java.net
Wed Apr 7 18:08:57 UTC 2021


On Wed, 7 Apr 2021 18:01:25 GMT, Conor Cleary <ccleary at openjdk.org> wrote:

>> src/java.base/share/classes/java/nio/charset/MalformedInputException.java line 45:
>> 
>>> 43: 
>>> 44:     /**
>>> 45:      * The length of the input byte sequence.
>> 
>> Should this comment also refer to the character sequence?
>
> It could, maybe something like "The length of the input byte (or character) sequence." would work?

or just "The length of the input" so that it is consistent with the description of the getInputLength method.

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

PR: https://git.openjdk.java.net/jdk/pull/3376


More information about the nio-dev mailing list