[jdk8u-dev] RFR: 8309274: backporting tests for GET and POST OCSP calls
Alexey Pavlyutkin
duke at openjdk.org
Thu Jun 1 15:45:22 UTC 2023
Hi!
Here is backport of forgotten tests for **[JDK-8179503: Java should support GET OCSP calls](https://bugs.openjdk.org/browse/JDK-8179503)**.
Original `GetAndPostTests.java` backported from `11u` with the following changes
- unsupported `List.of()`, `Set.of()`, `Map.of()` replaced with equivalents
- `algorithm` parameter dropped from instantiation `PKCS8EncodedKeySpec`
- required `public static enumSSLSocketTemplate.Cert` copied from `11u`
Verification (amd64/20.04LTS): newly added `jdk/test/java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java`
Regression (amd64/20.04LTS): `jdk_security`
-------------
Commit messages:
- 8309274: backporting tests for GET and POST OCSP calls
Changes: https://git.openjdk.org/jdk8u-dev/pull/328/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=328&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8309274
Stats: 804 lines in 2 files changed: 804 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/328.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/328/head:pull/328
PR: https://git.openjdk.org/jdk8u-dev/pull/328
More information about the jdk8u-dev
mailing list