<div dir="ltr"><div>Hi everyone,<div><br></div><div>I work with the XNIO ( <a href="https://github.com/xnio/xnio/" target="_blank">https://github.com/xnio/xnio/</a> ) project, led by David Lloyd in CC.</div><div><br></div><div>I'm not sure if this is the best way to get in touch, but I could not find out how to create an account for OpenJDK Jira to add a comment there.</div><div><br></div><div>We have a reproducer for JDK-8221218, and it appears it is not solved yet (tested with jdk 11.0.12). It is not intermittent, and it happens when we try to do an SSLEngine.unwrap with a zero remaining() ByteBuffer (in older versions, the engine would just return a BUFFER_UNDERFLOW result).<br></div><div><br></div><div>You can see more information about this here: <a href="https://issues.redhat.com/browse/XNIO-406" target="_blank">https://issues.redhat.com/browse/XNIO-406</a></div><div><br></div><div>To reproduce the issue, just follow the steps in "How to reproduce" using JDK11 and add a breakpoint at this line:<br><a href="https://github.com/xnio/xnio/pull/282/commits/2ae0c1b368c6e0886f9c03030ec443c346cb0a71#diff-9f162fd704e4d5eaff8abb932a923ae868adf3f642d85bc6f5bcfd5f7fe1763bR695" target="_blank">https://github.com/xnio/xnio/pull/282/commits/2ae0c1b368c6e0886f9c03030ec443c346cb0a71#diff-9f162fd704e4d5eaff8abb932a923ae868adf3f642d85bc6f5bcfd5f7fe1763bR695</a></div><div><br></div><div>Or you can simply open the test output file to view the exception: xnio/nio-impl/target/surefire-reports/org.xnio.nio.test.NioSslTcpChannelTestCase-output.txt (but then you have to comment out the XNIO-406 workaround above)</div><div><br></div><div>Notice that there are other failures with XNIO testsuite related to JDK11 and newer, as tracked by another Jira (XNIO-347), but they seem to be unrelated to this issue, hence why the mvn clean install -DskipTests in the reproduce steps.</div><div><br></div><div>Branch of choice should be 3.8</div><div><br></div><div>Since I won't be around for the next few days, Richard Opalka in CC will follow up with you.</div><div><br></div><div><br></div><div>Best regards,<br clear="all"><div><br></div></div></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><p style="font-weight:bold;margin:0px;padding:0px;font-size:14px;font-family:RedHatText,sans-serif">Flavia Rainone<span style="color:rgb(170,170,170);margin:0px"></span></p><p style="font-size:12px;margin:0px;font-family:RedHatText,sans-serif">Principal Software Engineer</p><p style="margin:0px 0px 4px;font-size:12px;font-family:RedHatText,sans-serif"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat</a></p><div style="margin-bottom:4px"></div><p style="margin:0px;font-size:12px;font-family:RedHatText,sans-serif"><span style="margin:0px;padding:0px"><a href="mailto:frainone@redhat.com" style="color:rgb(0,0,0);margin:0px" target="_blank">frainone@redhat.com</a>   </span></p><p style="margin:0px;font-size:12px;font-family:RedHatText,sans-serif"><br></p><p style="margin:0px;font-size:12px;font-family:RedHatText,sans-serif"><span style="margin:0px;padding:0px"><a href="https://www.redhat.com/" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:small" target="_blank"><img src="https://static.redhat.com/libs/redhat/brand-assets/2/corp/logo--200.png" width="90" height="auto"></a><br></span></p><div style="margin-top:12px"><table border="0"><tbody><tr></tr></tbody></table></div></div><img src="cid:f_l16gjgxy0" width="200" height="39"><br></div></div></div>