JDK-8230977 : JEP 244: TLS Application-Layer Protocol Negotiation Extension (Java SE 8)
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-09-13
  • Updated: 2020-04-28
  • Resolved: 2019-11-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8u251Fixed openjdk8u252Fixed
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8231729 :  
APIs to support a Transport Layer Security (TLS) feature called Application Layer Protocol Negotiation (ALPN) [1] were introduced in Java SE 9 under JEP 244 (JDK-8051498).  Customers have requested ALPN in Java SE 8 to support features like HTTP/2.  A couple of diverging approaches (JavaEE/Jetty and Azul's OpenJSSE) demonstrate that a standardized ALPN API is needed to prevent platform API fragmentation.

To preserve compatibility with newer platform releases, the Java SE 9 ALPN APIs will be backported to Java SE 8.

There are five changesets that should be brought back to provide this feature:  2 API and 3 minor bug fixes:

JDK-8144093: JEP 244/8051498 - TLS Application-Layer Protocol Negotiation Extension
JDK-8170282: Enable ALPN parameters to be supplied during the TLS handshake

Bug Fixes
JDK-8145849: ALPN: getHandshakeApplicationProtocol() always return null
JDK-8158978: ALPN not working when values are set directly on a SSLServerSocket
JDK-8171443: (spec) An ALPN callback function may also ignore ALPN

[1] https://tools.ietf.org/html/rfc7301
URL: https://hg.openjdk.java.net/jdk8u/jdk8u41/jdk/rev/b26b096d4c89 User: wetmore Date: 2019-11-22 18:53:20 +0000

URL: https://hg.openjdk.java.net/jdk8u/jdk8u41/rev/6665e24d626c User: wetmore Date: 2019-11-22 18:53:00 +0000

Fix Request (8 MR 3) This is ALPN portion of the announced 8 MR 3. [1] The codereview was done in security-dev/jdk8u-dev [2] [3] This is a direct backport of the bugs listed. [1] https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-November/010573.html [2] https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-November/010595.html [3] https://mail.openjdk.java.net/pipermail/security-dev/2019-November/020900.html