[jdk11u-dev] RFR: 8273553: sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368

Matthias Baesken mbaesken at openjdk.org
Tue Oct 11 13:39:31 UTC 2022


On Sun, 9 Oct 2022 18:58:00 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 11.0.18-oracle.
> 
> 
> I had to resolve closeInbound() in SSLEngineImpl.java because 
> "8221882: Use fiber-friendly java.util.concurrent.locks in JSSE" 
> is not in 11.

looks okay to me, but have you considered to change
src/java.base/share/classes/sun/security/ssl/SSLEngineImpl.java
in a way more close to jdk17 ?


public void closeInbound() throws SSLException {

try {
  ...
} finally {
    conContext.closeInbound();
}


?

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

PR: https://git.openjdk.org/jdk11u-dev/pull/1422


More information about the jdk-updates-dev mailing list