Skip to content

doesn't compile on JDK 11 (sun.security.util.HostnameChecker) #128

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

Closed
SethTisue opened this issue Oct 9, 2018 · 4 comments
Closed

doesn't compile on JDK 11 (sun.security.util.HostnameChecker) #128

SethTisue opened this issue Oct 9, 2018 · 4 comments

Comments

@SethTisue
Copy link
Contributor

seen in the Scala community build https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-jdk11-integrate-community-build/73/consoleFull

[ssl-config] [error] /home/jenkins/workspace/scala-2.12.x-jdk11-integrate-community-build/target-0.9.15/project-builds/ssl-config-07f531ee9e1ef3da74f34507aa754b10f207882d/ssl-config-core/src/main/scala/com/typesafe/sslconfig/ssl/DefaultHostnameVerifier.scala:40: value match is not a member of object sun.security.util.HostnameChecker
[ssl-config] [error]   def matchKerberos(hostname: String, principal: Principal) = HostnameChecker.`match`(hostname, principal.asInstanceOf[KerberosPrincipal])
[ssl-config] [error]                                                                               ^
[ssl-config] [error] /home/jenkins/workspace/scala-2.12.x-jdk11-integrate-community-build/target-0.9.15/project-builds/ssl-config-07f531ee9e1ef3da74f34507aa754b10f207882d/ssl-config-core/src/main/scala/com/typesafe/sslconfig/ssl/DefaultHostnameVerifier.scala:40: value match is not a member of object sun.security.util.HostnameChecker
[ssl-config] [error]   def matchKerberos(hostname: String, principal: Principal) = HostnameChecker.`match`(hostname, principal.asInstanceOf[KerberosPrincipal])
[ssl-config] [error]                                                                               ^
[ssl-config] [error] one error found

also reproducible outside dbuild with e.g sslConfigCore/compile. I expect you will also see the failure if you add openjdk11 to the matrix in .travis.yml

@wsargent
Copy link
Contributor

wsargent commented Oct 9, 2018

We should be able to remove HostnameChecker now that we're well past JDK 1.6

@wsargent
Copy link
Contributor

wsargent commented Oct 9, 2018

@dwijnand
Copy link
Contributor

See also #98 and #100. 🙂

@SethTisue
Copy link
Contributor Author

LOL, apparently I am blind.

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

No branches or pull requests

3 participants