[jdk17u-dev] RFR: 8284047: Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
Goetz Lindenmaier
goetz at openjdk.org
Fri Oct 6 07:31:26 UTC 2023
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.
-------------
Commit messages:
- Backport 824a5e4c605d4aee55252bce5364fa01de525e1b
Changes: https://git.openjdk.org/jdk17u-dev/pull/1849/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1849&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8284047
Stats: 4407 lines in 23 files changed: 1004 ins; 3076 del; 327 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/1849.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1849/head:pull/1849
PR: https://git.openjdk.org/jdk17u-dev/pull/1849
More information about the jdk-updates-dev
mailing list