kokuwaio / helm-maven-plugin

Simple plugin to package helm charts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch to Java 11

sschnabe opened this issue · comments

We should update the min java version from 1.8 to 11.

Why?

  • replace all HttpUrlConnections with java 11 http client
  • some dependencies need 11 (e.g. checkstyle in v10+)
  • java 1.8 is dead

Are there any issues upgrading to java 11?

Do we really need native Java Http client? Can Feign be cabdidate as well?

Java HTTP client would be enough. I do not like to have a lot of dependencies.

unfortunately I must using JDK 8 .... corpo bleble

Of course your way is correct - JDK 1.8 should not be used.

Proposition:

  • announce plan
  • in next version add warning when user use JDK 1.8
  • give a users some time for preparing eg. 6 months

From up/down votes i see there are still JDK 8 users. I'll reopen this issue maybe next year.

We use java 11/17 in runtime, but many 3rd party stuff still forces us to build with java 8 and I don't see it going away in close future.