On Tue, 9 Jun 2026 14:30:48 GMT, Artur Barashev <[email protected]> wrote:

>> src/java.base/share/classes/sun/security/ssl/TransportContext.java line 133:
>> 
>>> 131:     private TransportContext(SSLContextImpl sslContext, SSLTransport 
>>> transport,
>>> 132:             SSLConfiguration sslConfig, InputRecord inputRecord,
>>> 133:             OutputRecord outputRecord, boolean existingSSLConfig) {
>> 
>> Do you need the `existingSSLConfig` param? The previous code looked fine, 
>> where the config is cloned before calling the ctor.
>
> I need this to avoid constructors signatures collision. Basically, it's just 
> a little trick to keep constructors signatures unchanged.

Ok.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31422#discussion_r3381601009

Reply via email to