On Tue, 27 Oct 2026 19:10:38 GMT, Roland Mesde <[email protected]> wrote:
>> src/java.base/share/classes/sun/security/ssl/SSLSessionContextImpl.java line
>> 390:
>>
>>> 388: private boolean isTimedout(SSLSession sess) {
>>> 389: // Return true if the session is not valid.
>>> 390: if (sess instanceof SSLSessionImpl s && s.isInvalid()) {
>>
>> "SSLSessionImpl s &&" doesn't look like it'll compile.
>
> It does for Java 16+ due to JEP 394(https://openjdk.org/jeps/394)
Thanks, I'm behind the times. I'll leave the rest to @artur-oracle.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/33447#discussion_r4393491255