[jdk8u-dev] RFR: 8179503: Java should support GET OCSP calls [v2]
Alexey Pavlyutkin
duke at openjdk.org
Tue Jun 6 06:24:08 UTC 2023
> Hi!
>
> I would like to backport **[JDK-8179503: Java should support GET OCSP calls](https://bugs.openjdk.org/browse/JDK-8179503)** for parity with Oracle JDK.
>
> Except the path suffling the following changes were done to original patch:
>
> **`jdk/src/share/classes/sun/security/provider/certpath/OCSP.java`**
> - still reads the response piece by piece using `InputStream.read()` method because `IOUtils.readExactlyNBytes()` is not available
>
> **`jdk/test/java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java`**
> - unsupported `List.of()`, `Set.of()`, `Map.of()` replaced with equivalents
> - `algorithm` parameter dropped from instantiation `PKCS8EncodedKeySpec`
>
> **`jdk/test/javax/net/ssl/templates/SSLSocketTemplate.java`**
> - required `public static enum SSLSocketTemplate.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`
Alexey Pavlyutkin has updated the pull request incrementally with one additional commit since the last revision:
restore lost newlines at the end of files
-------------
Changes:
- all: https://git.openjdk.org/jdk8u-dev/pull/330/files
- new: https://git.openjdk.org/jdk8u-dev/pull/330/files/ed2d1b76..63ba22db
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=330&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=330&range=00-01
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/330.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/330/head:pull/330
PR: https://git.openjdk.org/jdk8u-dev/pull/330
More information about the jdk8u-dev
mailing list