<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>For what it's worth, I tried with the latest JDK using SSLSockets
      on the server side and I'm (so far) not able to reproduce it with
      my local test utilities.  Unfortunately I don't have an
      engine-based simple server handy so I'll give Norman's reproducer
      a spin and see what happens.</p>
    <p>--Jamil<br>
    </p>
    <div class="moz-cite-prefix">On 3/30/2020 5:31 AM, Norman Maurer
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:41271A68-2A81-4E87-ACE3-6409C7D7DCEE@googlemail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      Hey Sean,
      <div class=""><br class="">
      </div>
      <div class="">There is not much to share as its just a simple
        handshake :)</div>
      <div class=""><br class="">
      </div>
      <div class="">Anyway here is a reproducer:</div>
      <div class=""><br class="">
      </div>
      <div class=""><a
href="https://github.com/normanmaurer/jdk_ssl_session_context_reproducer"
          class="" moz-do-not-send="true">https://github.com/normanmaurer/jdk_ssl_session_context_reproducer</a></div>
      <div class=""><br class="">
      </div>
      <div class="">It basically does nothing more then complete the
        handshake and then calling
        engine.getSession().getSessionContext() which will return null
        on the server side since JDK 14 (earlier versions work).</div>
      <div class="">I tested it with TLSv1.2 and TLSv1.3 and both times
        it produced the error on JDK 14.</div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class="">Bye</div>
      <div class="">Norman</div>
      <div class=""><br class="">
        <div class="">
          <div><br class="">
            <blockquote type="cite" class="">
              <div class="">On 30. Mar 2020, at 13:22, Seán Coffey <<a
                  href="mailto:sean.coffey@oracle.com" class=""
                  moz-do-not-send="true">sean.coffey@oracle.com</a>>
                wrote:</div>
              <br class="Apple-interchange-newline">
              <div class="">
                <div class="">Looks interesting Norman. Do you want to
                  share some more details about the peculiarities of
                  this handshake before considering a fully fledged
                  testcase ?<br class="">
                  <br class="">
                  regards,<br class="">
                  Sean.<br class="">
                  <br class="">
                  On 27/03/2020 12:48, Norman Maurer wrote:<br class="">
                  <blockquote type="cite" class="">Hi there,<br class="">
                    <br class="">
                    I am just about to add JDK14 to the test matrix for
                    netty and think I found a regression. Before I will
                    invest time to write a standalone reproducer please
                    let me know if you think this is a regression or
                    not.<br class="">
                    Basically after the handshake is complete
                    SSLEngine.getSession().getSessionContext() returns
                    null on the serverside when using JDK14. Running the
                    same test with any previous version (JDK13 and
                    earlier) doesn’t show the same result.<br class="">
                    <br class="">
                    Does this sounds like a regression and if so should
                    I provide a standalone reproducer here ?<br class="">
                    <br class="">
                    Bye<br class="">
                    Norman<br class="">
                    <br class="">
                  </blockquote>
                </div>
              </div>
            </blockquote>
          </div>
          <br class="">
        </div>
      </div>
    </blockquote>
  </body>
</html>