[jdk15u-dev] RFR: 8279842: HTTPS Channel Binding support for Java GSS/Kerberos
Olga Mikhaltsova
omikhaltcova at openjdk.org
Fri Jul 15 21:32:57 UTC 2022
It's backport of JDK-8279842 to jdk15u.
The original patch applied cleanly (commit 1) but it's required the following corrections (commit 2) similar to jdk11u:
1) Replacement of instanceof patterns (AbstractDelegateHttpsURLConnection.java, HttpsCB.java) (JEP 375, JDK 15);
2) Substitute callAs(..) with doAs(..) (HttpsCB.java) (JDK-8275529, JDK 18);
3) Add import java.security.PrivilegedExceptionAction (HttpsCB.java).
Tested on Linux x64, Windows x64, macOS x64 with the tests' groups: `test/jdk/sun/security/krb5` and `test/jdk/com/sun/jndi`, - with no regression. The included tests HttpsCB.java and LdapCBPropertiesTest.java passed successfully.
-------------
Commit messages:
- Replacement of instanceof pattern and callAs() -> doAs()
- Backport de3113b998550021bb502cd6f766036fb8351e7d
Changes: https://git.openjdk.org/jdk15u-dev/pull/234/files
Webrev: https://webrevs.openjdk.org/?repo=jdk15u-dev&pr=234&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8279842
Stats: 867 lines in 12 files changed: 705 ins; 146 del; 16 mod
Patch: https://git.openjdk.org/jdk15u-dev/pull/234.diff
Fetch: git fetch https://git.openjdk.org/jdk15u-dev pull/234/head:pull/234
PR: https://git.openjdk.org/jdk15u-dev/pull/234
More information about the jdk-updates-dev
mailing list