RFR: 8349532: Refactor ./util/Pem/encoding.sh to run in java [v2]

Mikhail Yankelevich duke at openjdk.org
Fri Feb 7 13:39:11 UTC 2025


On Fri, 7 Feb 2025 12:51:36 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> Thanks. The updated test runs fine.
> 
> Out of curiosity, I append `.reportDiagnosticSummary()` to the last line in `main` and see the output string contains garbaged characters. It looks like although the original fix made it possible to read in a PEM certificate with such a default encoding, it had not fixed the `toString` part of the certificate. Can you try to fix it as well? It could be another bug since this one is only about the test.

created a new product bug for this [JDK-8349664](https://bugs.openjdk.org/browse/JDK-8349664)

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

PR Comment: https://git.openjdk.org/jdk/pull/23492#issuecomment-2642971120


More information about the security-dev mailing list