On Thu, 4 Dec 2025 17:13:13 GMT, Fernando Guallini <[email protected]> wrote:
> PEM is using the String.replaceAll() method that creates a Pattern internally > every time. This looks like a minor inefficiency and since it is caching > Patterns for other cases, it should do the same here. This pull request has now been integrated. Changeset: 532a0a65 Author: Fernando Guallini <[email protected]> URL: https://git.openjdk.org/jdk/commit/532a0a65b130e1fbe74ccbd16cdeed258cc2c245 Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod 8372950: Pem.pemEncoded should cache the Pattern Reviewed-by: ascarpino ------------- PR: https://git.openjdk.org/jdk/pull/28661
