-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jetty-alpn incompatible with OpenJDK 8u251 #31
Comments
@DanielThomas unfortunately there is no source code available for 8u251. I don't think there is much we can do; guessing what the changes should be is not a viable way, so I guess we can only recommend to not use 8u251, but 8u252 instead. |
The sources are readily available. They're bundled in the JDK in |
@DanielThomas there are no sources in |
Certainly is in the Zulu distribution:
|
I don't know what to say. 8u251 is not an official tag in the OpenJDK repository (https://hg.openjdk.java.net/jdk8u/jdk8u/tags). I don't know from what sources the Zulu distribution has been built from, and the sources bundled with it may or may not be those used to build the binary. If I do the changes based on the Zulu sources, it may or may not work for Zulu, but it may not work for Oracle because Oracle's 8u251 could be different from Zulu's since 8u251 is not an official tag and nobody knows from what sources it actually derives from. We only maintains official OpenJDK tags. I will update the documentation, which was true so far (Oracle always liked to produce a version that was 1 number less than the OpenJDK tag, but the source seemed to be consistent or at least not that different), but apparently not this time. Best option is to not use 8u251, from any vendor. Stick with 8u252, there are slightly more chances that the binaries are derived from the official OpenJDK tag. |
Hello I am observing same issue for openjdk 8u252
similar if I want to build alpn manually
my java version:
I believe nullSession attribute was truly removed from SSLSessionImpl in latest java8 update Do you have any suggestion how to solve this problem? Thanks |
@vainyksi are you trying to build Jetty 8.1.14? Can you please specify exactly what you're doing? You need Jetty 9.4.28 to work with 8u252. |
Jetty 8.1.14 is EOL (End of Life) https://www.eclipse.org/jetty/documentation/current/what-jetty-version.html Also be aware of the vulnerabilities with that old of a version of Jetty. |
The readme for this project appears to be mistaken - 8u251 does not backport the ALPN APIs, instead it's broken by the removal of
SSLSessionImpl.nullSession
:See:
This line:
jetty-alpn/alpn-boot/src/main/java/sun/security/ssl/ClientHandshaker.java
Line 1350 in 279b4ae
Needs to be changed to:
The text was updated successfully, but these errors were encountered: