[11u] RFR: 8241372: Several test failures due to javax.net.ssl.SSLException: Connection reset

Doerr, Martin martin.doerr at sap.com
Wed Mar 17 17:47:07 UTC 2021


Hi Paul,

thanks for the review!

Best regards,
Martin


> -----Original Message-----
> From: Hohensee, Paul <hohensee at amazon.com>
> Sent: Mittwoch, 17. März 2021 18:31
> To: Doerr, Martin <martin.doerr at sap.com>; jdk-updates-
> dev at openjdk.java.net
> Cc: Langer, Christoph <christoph.langer at sap.com>; Lindenmaier, Goetz
> <goetz.lindenmaier at sap.com>
> Subject: Re: [11u] RFR: 8241372: Several test failures due to
> javax.net.ssl.SSLException: Connection reset
> 
> Lgtm.
> 
> Thanks,
> Paul
> 
> -----Original Message-----
> From: jdk-updates-dev <jdk-updates-dev-retn at openjdk.java.net> on
> behalf of "Doerr, Martin" <martin.doerr at sap.com>
> Date: Wednesday, March 17, 2021 at 7:04 AM
> To: "jdk-updates-dev at openjdk.java.net" <jdk-updates-
> dev at openjdk.java.net>
> Cc: "Langer, Christoph" <christoph.langer at sap.com>, "Lindenmaier, Goetz"
> <goetz.lindenmaier at sap.com>
> Subject: [11u] RFR: 8241372: Several test failures due to
> javax.net.ssl.SSLException: Connection reset
> 
> Hi,
> 
> JDK-8241372 is backported to 11.0.12-oracle. I'd like to backport it for parity.
> It applies cleanly, but I had to remove the code which sets "serverAddress"
> which was introduced by https://bugs.openjdk.java.net/browse/JDK-
> 8230435 and is not in 11u (see below).
> 
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8241372
> 
> Original change:
> https://git.openjdk.java.net/jdk/commit/0a50688d
> 
> 11u backport:
> http://cr.openjdk.java.net/~mdoerr/8241372_SSL_testfix_11u/webrev.00/
> 
> Please review.
> 
> Best regards,
> Martin
> 
> 
> diff -r fbb7b445880e
> test/jdk/javax/net/ssl/SSLSession/TestEnabledProtocols.java
> --- a/test/jdk/javax/net/ssl/SSLSession/TestEnabledProtocols.java       Tue
> Feb 16 18:54:39 2021 +0000
> +++ b/test/jdk/javax/net/ssl/SSLSession/TestEnabledProtocols.java       Wed
> Mar 17 14:37:24 2021 +0100
> @@ -65,7 +65,6 @@
>          this.clientProtocols = clientProtocols;
>          this.exceptionExpected = exceptionExpected;
>          this.selectedProtocol = selectedProtocol;
> -        this.serverAddress = InetAddress.getLoopbackAddress();
>      }
> 
>      @Override
> diff -r fbb7b445880e
> test/jdk/sun/security/ssl/CipherSuite/SupportedGroups.java
> --- a/test/jdk/sun/security/ssl/CipherSuite/SupportedGroups.java        Tue
> Feb 16 18:54:39 2021 +0000
> +++ b/test/jdk/sun/security/ssl/CipherSuite/SupportedGroups.java        Wed
> Mar 17 14:37:24 2021 +0100
> @@ -52,10 +52,6 @@
>          {{"TLSv1.2"}, {"TLSv1.2"}}
>      };
> 
> -    public SupportedGroups() {
> -        this.serverAddress = InetAddress.getLoopbackAddress();
> -    }
> -
>      // Servers are configured before clients, increment test case after.
>      @Override
>      protected void configureClientSocket(SSLSocket socket) {
> 



More information about the jdk-updates-dev mailing list