<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Is there anything else I can do to have anyone look into this? <div class=""><br class=""></div><div class="">I just want to make sure this does not fall through before the final JDK 12 release is done. </div><div class=""><br class=""></div><div class="">Bye</div><div class="">Norman</div><div class=""><br class=""><div class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 4. Mar 2019, at 21:15, Norman Maurer <<a href="mailto:norman.maurer@googlemail.com" class="">norman.maurer@googlemail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Any comments here ?<div class=""><br class=""></div><div class="">Bye</div><div class="">Norman</div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 28. Feb 2019, at 09:24, Norman Maurer <<a href="mailto:norman.maurer@googlemail.com" class="">norman.maurer@googlemail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">I think I found a possible regression / bug in the latest JDK12 release when trying to upgrade the Netty CI server to test with the latest JDK12 release. The problem is that SSLEngine.wrap(…) returns NOT_HANDSHAKING even when there are bytes left that should be consumed (the alert itself). My understanding is that it should only return “NOT_HANDSHAKING” once we also consumed the alert. Please correct me if I wrong tho.</div><div class=""><br class=""></div><div class="">I pushed a reproducer for this here:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/normanmaurer/jdk12_ssl_engine_unwrap_bug" class="">https://github.com/normanmaurer/jdk12_ssl_engine_unwrap_bug</a></div><div class=""><br class=""></div><div class="">When running this on the latest JDK12 release (and later JDK versions) it will fail with an AssertionError, while everything works as expected when using earlier Java versions.</div><div class=""><br class=""></div><div class="">Here is the Java version I used to reproduce:</div><div class=""><br class=""></div><div class=""><div class=""># java -version</div><div class="">openjdk version "12" 2019-03-19</div><div class="">OpenJDK Runtime Environment (build 12+33)</div><div class="">OpenJDK 64-Bit Server VM (build 12+33, mixed mode, sharing)</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">It seems like this was not always the case for Java12 tho, as I can not reproduce it with this version:</div><div class=""><br class=""></div><div class=""><div class="">#java -version</div><div class="">openjdk version "12-ea" 2019-03-19</div><div class="">OpenJDK Runtime Environment (build 12-ea+27)</div><div class="">OpenJDK 64-Bit Server VM (build 12-ea+27, mixed mode, sharing)</div></div><div class=""><br class=""></div><div class="">I don't have all the “in between” releases on my machine atm so I can not tell exactly on which release this “broke” :/</div><div class=""><br class=""></div><div class="">Thanks</div><div class="">Norman</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></body></html>