Earlier quoted context omitted.
If you're doing green field JVM developer and NOT using big frameworks like Spring or an app server it is pretty safe to use the intermediate releases.
Uh, probably just my narrow corporate world view but... is there any serious development in java NOT using Spring? Time for me to learn so let me rephrase this question! Those who use java without EE or Spring framework, what are your go-to libraries? What are you using for DI / REST / ORM / Auth etc?
Java 16
321–327 of 327 posts
Re: Java 16
#322Earlier quoted context omitted.
If you're using "application servers" and not containers then definitely do not touch intermediate releases.
Why? I would say, try it out and see.
Re: Java 16
#323Earlier quoted context omitted.
Can't read whether this is sarcastic or tongue in cheek ;-) Java 11 is the newest LTS release. The next LTS release will be Java 17. Many companies won't touch anything that isn't LTS. There are still a large number of companies staying on Java 8 :shrug:
LTS doesn't exist within OpenJDK. LTS only exists if you're paying a specific provider for it.
Re: Java 16
#324Re: Java 16
#325Re: Java 16
#326Earlier quoted context omitted.
Most recent java version is supported for 6 months and then the next one. Think of Java versions as patch releases for Java 8. There are minor changes between releases.
Sure, but that's regular releases, not LTS
Lack of features? Sorry they added shenandoah in JDK 11, AFTER release.
No code breaking changes? Sorry JDK 8 u2xx broke my code that worked on u6x.
Re: Java 16
#327Earlier quoted context omitted.
Why? I would say, try it out and see.
And what do you do if you "try it out" and some months later you identify a problem? Then you have to rewrite all the code without the new features to go back to the LTS version, and likely you'll have to downgrade or even swap out some of your dependencies. That's painful and expensive, there needs to be a very good reason to justify that risk.
What kind of problem could you identify? Same might happen with LTS release (e.g. I had it in JDK 8, suddenly I wasn't able to use some crypto libs).
Fixes always go first to JDK latest, and then are backported to 11 and 8.