[jdk13u-dev] RFR: 8279842: HTTPS Channel Binding support for Java GSS/Kerberos

Yuri Nesterenko yan at openjdk.org
Mon Jul 18 06:34:59 UTC 2022


On Fri, 15 Jul 2022 16:57:08 GMT, Olga Mikhaltsova <omikhaltcova at openjdk.org> wrote:

> 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.

Marked as reviewed by yan (Reviewer).

-------------

PR: https://git.openjdk.org/jdk13u-dev/pull/371


More information about the jdk-updates-dev mailing list