[jdk17u-dev] Integrated: 8284047: Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates

Goetz Lindenmaier goetz at openjdk.org
Wed Oct 11 08:24:12 UTC 2023


On Fri, 6 Oct 2023 07:22:56 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.10-oracle.
> 
> test/jdk/javax/net/ssl/ALPN/SSLServerSocketAlpnTest.java
> test/jdk/javax/net/ssl/ALPN/SSLSocketAlpnTest.java
> Copyright.
> Deleting a larger block failed because 17 calls initCause(remote) where the original change calls addSuppressed(remote);
> 
> test/jdk/javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java
> This could not be deleted because of the same difference mentioned above.
> 
> test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java
> Copyright.
> 
> These difference are all because 8282723: Add constructors taking a cause to JSSE exceptions
> is not in 17.  I did not find a usage of addSuppressed() in the new code, so it should work without further adaptions.
> Ran all tests modified, passing.

This pull request has now been integrated.

Changeset: 5e0be488
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/5e0be4886b2923309a820d2d6230d9071430ebc7
Stats:     4407 lines in 23 files changed: 1004 ins; 3076 del; 327 mod

8284047: Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates

Reviewed-by: lucy
Backport-of: 824a5e4c605d4aee55252bce5364fa01de525e1b

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

PR: https://git.openjdk.org/jdk17u-dev/pull/1849


More information about the jdk-updates-dev mailing list