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

Do you need to switch to a higher version of JDK? #4

Closed
Lambdua opened this issue May 6, 2024 · 3 comments
Closed

Do you need to switch to a higher version of JDK? #4

Lambdua opened this issue May 6, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Lambdua
Copy link
Owner

Lambdua commented May 6, 2024

I am the maintainer of this open-source library, and I developed it based on the openai Java library. Currently, the JDK 8 version is no longer suitable for my own needs. I have the idea of upgrading to a higher version of the JDK to use more of its features
However, this idea depends on the thoughts of the people using this library. I hope those who see this issue can provide their own opinions

@propertius
Copy link

I would try and keep supporting JDK 8. The 8 and 11 versions still dominate the production applications out there. Switching to 17 would seem too risky for me, and could eventually have an impact on this library's adoption. Here a poll from next year: https://www.jetbrains.com/lp/devecosystem-2023/java/

@Lambdua
Copy link
Owner Author

Lambdua commented May 7, 2024

New projects might actually benefit from using a higher version of the JDK. For maintaining older projects, JDK 8 is perfectly reasonable. However, most projects using this library are likely relatively new. So far, there hasn't been significant demand for upgrading the JDK version. Although I personally have this need, there hasn't been much feedback on it, so upgrading the JDK isn't planned for now.

@Lambdua Lambdua added enhancement New feature or request good first issue Good for newcomers labels May 9, 2024
@Ran-Mewo
Copy link
Contributor

If you want to try something experimental then you could have a look at Jabel
It allows Java 9+ syntax when targeting for Java 8

@Lambdua Lambdua closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants