RFR: 6587699: Document DigestInputStream behavior when skip() or mark() / reset() is used [v2]

Weijun Wang weijun at openjdk.org
Thu Jul 28 22:38:34 UTC 2022

On Thu, 28 Jul 2022 17:40:30 GMT, Bradford Wetmore <wetmore at openjdk.org> wrote:

>> Maybe I should use "especially". This is not "additionally" because `skip` is not one of these "read"-methods.
> I meant additionally as in "here's an additional case to be aware of...", not "this is an additional read case..."

To me, "additionally" means the previous sentence has not covered this. Here, the previous sentence is already quite clear the message digest is only updated for the "read" methods. The extra "especially" and "on the other hand" sentences are just a clarification for those people wondering what other methods there are except for those "read" methods.


PR: https://git.openjdk.org/jdk/pull/9667

More information about the security-dev mailing list