On Thu, 21 Jul 2022 15:37:40 GMT, Сергей Цыпанов <d...@openjdk.org> wrote:

> We can use `InputStream.readAllBytes()` in `ModuleHashes` and `X509CertPath`.

The `X509CertPath.java` change looks fine, but I'm not sure about the other 
one. It means the whole content from the input stream is read into a single 
array and this could lead to a sudden peak memory usage if the size is big.

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

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

Reply via email to