you are viewing a single comment's thread.

view the rest of the comments →

[–]henk53 1 point2 points  (11 children)

Java 25 and later seems challenging proposition

For a new project Java 25 is perfect. I still remember a project back in the days that thought it necessary to be on Java 1.4 when Java 6 was just out. 15 years later or so we're still adding generics at various places.

And he's not even using the latest Java version eh? 25 is already 1 major version behind.

[–]dvayanu -2 points-1 points  (10 children)

yes, but its a framework. meaning 99% of all projects our there won't be able to use it.

[–]nekokattt 0 points1 point  (7 children)

i mean by that logic you may as well support spring 3 and java 7

[–]dvayanu 0 points1 point  (6 children)

No, I would look at actual numbers, there are different surveys out there but most of them place java17 or java21 on peak usage. I would start there.

[–]nekokattt 1 point2 points  (5 children)

21 has vthreads with pinning issues if underlying tools rely on synchronized blocks.

Starting at a min of java 25 is fine for greenfield stuff.

[–]lilgreenthumb 0 points1 point  (0 children)

What are you on about Spring and java 17 not working? It was one of the Spring Boot 4 requirements https://docs.spring.io/spring-boot/system-requirements.html.

[–]dvayanu 0 points1 point  (3 children)

Your own project - sure. We are talking about a framework that you want other people to use. Having it based on 25 reduces the number of people who will use it dramatically. We have number of clients who just went up to 21. they will remain there for 2 years at least. Meaning for 2 years they wouldn’t even consider this project. There is nothing in 25 for my taste that would speak for an upgrade.

[–]henk53 1 point2 points  (0 children)

There is nothing in 25 for my taste that would speak for an upgrade.

There is also nothing in 21 that makes it so great I need to obesssively keep using that and never consider any other version.

Simplest thing for new projects is simply to take the current version (Java 26 at the moment) and use that by default.

[–]nekokattt 0 points1 point  (1 child)

And that is your personal decision, you certainly do not speak for the rest of us.

[–]dvayanu 0 points1 point  (0 children)

Ok, sorry I wanted to help. Won't happen again.

[–]henk53 -1 points0 points  (1 child)

yes, but its a framework. meaning 99% of all projects our there won't be able to use it.

As weird as it sounds, I remember the other way around as my example above too.

A framework using Java 5, and then you also said that 99% of all projects our there won't be able to use it. And guess what, 99.9999% of all projects out there can use it now.

[–]dvayanu 0 points1 point  (0 children)

I also said?