On Thu, 24 Sep 2026 13:57:26 GMT, Kieran Farrell <[email protected]> wrote:

> This test targets some code coverage gaps with the `SSLLogger` namely around 
> the use of `formatMapEntry(..)` and `log(...)`with a throwable overload. The 
> test captures `SSLLogger` output in a buffer and asserts that the correct 
> info was logged. Reflection was required to reach the `log(...)` with a 
> throwable overload as there is no way access SSLLogger's private console 
> logger and target the method otherwise.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: f2998482
Author:    Kieran Farrell <[email protected]>
Committer: Matthew Donovan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/f29984825f40dcab2e603400a2c6c2940d3a37c4
Stats:     172 lines in 1 file changed: 172 ins; 0 del; 0 mod

8361344: Address sun/security/ssl/SSLLogger.java code coverage gaps

Reviewed-by: mdonovan

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

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

Reply via email to