RFR: 8290824: Use InputStream.readAllBytes() instead of explicit loops

Сергей Цыпанов duke at openjdk.org
Fri Jul 22 09:04:37 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`.

Could one advise how to execute smth like `jmod hash --module-path ~/openjdk-18.0.2/Contents/Home/jmods --hash-modules .*`? This command doesn't work for me.

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

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



More information about the security-dev mailing list