-
Notifications
You must be signed in to change notification settings - Fork 314
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
READMEI is not match CI of java version #1181
Comments
feel free to amend the CI but I'm considering dropping support for java 8 soon since java 8 is quite outdated |
Agree with it. |
It looks some Gradle plugins, like spotless-plugin-gradle, don't support JDK 8 anymore. Now that jetcd is expected to support JDK 8, it would be better to build and test this project with this JDK version, in case that JDK 8-specific issues raise. Additionally, although JDK 8 is quite old, it possibly live longer than JDK 11, even 17 ;-) |
It depends on how active the jetcd community is. Basically, I agree not to put more effort into jdk8. |
@johnshajiang the code should be compatible with java 8 as far as I know as the target is still java 8, however as you mentioned, java 8 is quite old so I will move to java 11 at least. WDYT ? |
I did see.
If jetcd declares the required minimum JDK version is 11, I think that is OK. |
yep it is, unfortunately I did migrate to java 11 some time ago but got some complaining and I had to implement this middle ground solution :( |
So, let me create a PR to update it to say jetcd is working for WDYT? UPDATE
So there are some problem with java 11,right? |
can you also amend the gradle build script and eventually the ci ? |
No surprise. JDK 8 is used widely in real world projects.
Looks jetcd doesn't want to lose such users. |
This problem is not the wordings, instead, the real design purpose. |
I don't think this can last forever as many libraries and tools will at some point drop java 8 support. Also, I'm the only maintainer so I would like to minimize maintenance as much as possible. My proposal is to support LTS-2 which mean to drop java 8 when after java 21 GA. If java 8 is a requirement somewhere has to actively join me in maintaining the library as I cannot guarantee to have the time. |
Oh, JDK 21 will be GA very soon, exactly on 19th this month. |
Right, which means I have to support Java 21, 17, 11 which in my opinion is more than enough for me :) |
I think it's time to notify the user jetcd will be update to java 11. |
@liangyuanpeng can you open an issue for that and open a PR to amend the readme ? |
Just out of curiosity, which JDK 11 features do you need to apply for this project? |
At this point very few, but in the past I did want to leverage i.e. I also want to leverage some syntax sugar to remove some dependencies/custom code when possible. |
@lburgazzoli Absolutely, i think the first step is create a pin issue to let user know about jetcd will be update to java11,And then it goes on for a while. so PR is the next one, WDYT?
Agree with it, if users must to run jetcd on java8, then they should need to maintain a java8 jetcd and work with the community because there is a lack of community maintainers right now. |
+1 |
Created a issue #1218 for it and please help to pin it. Feel free to edit it if it is not clear,Thanks! |
README is talking java8 and CI is java 11
https://github.com/etcd-io/jetcd/blob/main/README.md#java-versions
https://github.com/etcd-io/jetcd/blob/main/.github/workflows/build-pr.yml#L48-L49
The text was updated successfully, but these errors were encountered: