RFR: 8290824: Use InputStream.readAllBytes() instead of surrogate code
Mark Reinhold
mr at openjdk.org
Thu Jul 21 17:32:58 UTC 2022
On Thu, 21 Jul 2022 15:37:40 GMT, Сергей Цыпанов <duke at openjdk.org> wrote:
> We can use `InputStream.readAllBytes()` in `ModuleHashes` and `X509CertPath`.
Why do you say “instead of surrogate code”? I don’t see any Unicode surrogate processing here, but maybe you mean something else. Would “instead of explicit loops” be a better summary?
-------------
PR: https://git.openjdk.org/jdk/pull/9596
More information about the security-dev
mailing list