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

Require at least Java 11 #252

Closed
acogoluegnes opened this issue Oct 21, 2021 · 2 comments
Closed

Require at least Java 11 #252

acogoluegnes opened this issue Oct 21, 2021 · 2 comments
Milestone

Comments

@acogoluegnes
Copy link
Contributor

No description provided.

@acogoluegnes
Copy link
Contributor Author

With Spring's RestTemplate being in maintenance mode and Spring planning to require Java 17 by the end of 2022, the Client should consider migrating to another HTTP layer. The HttpClient introduced in Java 11 is a good candidate. That would imply requiring Java 11 for Hop, but this is a reasonable decision.

If possible without too much hassle, we could squeeze JDK's HttpClient along the RestTemplate in Client and deprecate any method involving some RestTemplate configuration in a major version and then remove RestTemplate all together in another major version.

@michaelklishin
Copy link
Member

I think it's perfectly fine to require Java 11. Older releases can still be used just fine on Java 8.

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

No branches or pull requests

2 participants