[jdk13u-dev] RFR: 8279842: HTTPS Channel Binding support for Java GSS/Kerberos
Olga Mikhaltsova
omikhaltcova at openjdk.org
Fri Jul 15 21:31:42 UTC 2022
It's backport of JDK-8279842 to jdk13u.
The original patch applied cleanly (commit 1) but it's required the following corrections similar to jdk11u:
1) Drop @java.io.Serial (ChannelBindingException.java) (commit 2);
2) Replacement of instanceof patterns (AbstractDelegateHttpsURLConnection.java, HttpsCB.java) (JEP 305, JDK 14) (commit 3);
3) Substitute callAs(..) with doAs(..) (HttpsCB.java) (JDK-8275529, JDK 18) (commit 3);
4) Add import java.security.PrivilegedExceptionAction (HttpsCB.java) (commit 3).
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()
- Drop java.io.Serial
- Backport de3113b998550021bb502cd6f766036fb8351e7d
Changes: https://git.openjdk.org/jdk13u-dev/pull/371/files
Webrev: https://webrevs.openjdk.org/?repo=jdk13u-dev&pr=371&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8279842
Stats: 866 lines in 12 files changed: 704 ins; 146 del; 16 mod
Patch: https://git.openjdk.org/jdk13u-dev/pull/371.diff
Fetch: git fetch https://git.openjdk.org/jdk13u-dev pull/371/head:pull/371
PR: https://git.openjdk.org/jdk13u-dev/pull/371
More information about the jdk-updates-dev
mailing list