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

Upgrade to Java >= 14? #32

Closed
robotdan opened this issue Apr 22, 2021 · 7 comments
Closed

Upgrade to Java >= 14? #32

robotdan opened this issue Apr 22, 2021 · 7 comments

Comments

@robotdan
Copy link
Member

robotdan commented Apr 22, 2021

How many people would I break if I moved this to Java >= 14?

Feel free to comment on this thread.

Related

@Yaytay
Copy link

Yaytay commented May 26, 2022

Fine by me.

@robotdan
Copy link
Member Author

Thanks for the feedback @Yaytay. If we update the min. required version of Java, I would likely select an LTS, version 11 or 17.

@agentgt
Copy link

agentgt commented Jun 28, 2022

I was just looking at trying to use Edwards Curve and it is only supported in Java 15 or greater

https://openjdk.org/jeps/339

I have contemplated forking this project to get it since the Algorithm is an enum.

@mooreds
Copy link

mooreds commented Jan 19, 2023

Should probably look at java 17 now, since it is an LTS: https://www.oracle.com/news/announcement/oracle-releases-java-17-2021-09-14/

@robotdan
Copy link
Member Author

robotdan commented Feb 9, 2023

There is some work in progress to make this library more modular so the base can optionally stay on Java 8, and we can add support for various new algorithms using extensions.

#13 (comment)

@robotdan
Copy link
Member Author

LTS versions 8, 11, 17, 21.
https://www.oracle.com/java/technologies/java-se-support-roadmap.html

Probably safe to ditch Java 8 since support is only available through extended or sustaining support from Oracle.

@robotdan
Copy link
Member Author

Planning to leave the base library at Java 8 for compatibility. I don't know that there is any technical benefit to using something later.

We could move to Java 11, to pick up a more recent LTS, but I don't know that it matters much. We should be able to release support for EDDSA w/out requiring the base library use >= Java 17.

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

4 participants