On Tue, 18 Nov 2025 15:50:42 GMT, Sean Coffey <[email protected]> wrote:

> `SSLLogger` utilizes `System.Logger` if the `javax.net.debug` system property 
> key value is empty. However, since that class doesn't implement `SSLogger`, 
> it misses the advantage of highlighting the exact calling site for each log 
> statement.  Having `SSLLogger `simply implement `System.Logger` fixes this
> 
> I've also taken this opportunity to refractor the `isOn` boolean in 
> `SSLLogger`. Encapsulated that boolean in a new method which callers can now 
> use. I also used `ForceInline` directory on that method. Thanks to @dfuch for 
> suggestions on that front.
> 
> Also updated an existing unit testcase to test for the new functionality

This pull request has now been integrated.

Changeset: 852141b9
Author:    Sean Coffey <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/852141b9d42ada168a008aea63045deddca29190
Stats:     840 lines in 80 files changed: 43 ins; 42 del; 755 mod

8372004: Have SSLLogger implement System.Logger

Reviewed-by: dfuchs, weijun

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

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

Reply via email to