Skip to content
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

Explicitly add jdk.crypto.ec to the list of modules. #7337

Closed
wants to merge 1 commit into from

Conversation

meisterT
Copy link
Member

@meisterT meisterT commented Feb 3, 2019

JDK 11 adds support for TLSv1.3 but the handshake while downloading from
github fails while download external repositories.

RELNOTES: Explicitly set https.protocols and exclude TLSv1.3.

@meisterT meisterT requested a review from philwo February 3, 2019 13:11
@meisterT meisterT changed the title Explicitly set https.protocols and exclude TLSv1.3. Explicitly add jdk.crypto.ec to the list of modules. Feb 3, 2019
@meisterT
Copy link
Member Author

meisterT commented Feb 3, 2019

We not rather add one more module and support TLSv1.3 (jdk.crypto.ec).

@@ -24,6 +24,9 @@ if [ "$1" == "--allmodules" ]; then
modules="ALL-MODULE-PATH"
else
modules=$(cat "$2" | paste -sd "," - | tr -d '\r')
# We have to add this module explicitly because jdeps doesn't find the
# dependency on it but it still necessary for TLSv1.3.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "it is still necessary"

This is necessary because TLSv1.3 needs that module, but jdeps doesn't
list this in the reduced modules list.
Without that we get handshake errors while downloading stuff from
github external repositories.

RELNOTES: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants