![]() ![]() The most notable changes involved the addition of HTTPClient, Flight Recorder, an experimental low-pause garbage collector( ZGC), and an experimental no-op garbage collector(Epsilon). Java 11 was the first Long-Term-Support release and featured 17 JEPs. The most notable changes involved an introduction of local-variable-type-inference( var), Garbage Collector interface, G1 improvements (parallel full GC), and application class-data sharing.Īmong other stuff, we received new handy Collectors to be used with unmodifiable collections:Īll JEPs can be found here. Hence it featured only 12 JEPs and various small API additions accumulated within six months after Java 9 was released. Java 10 was the first one to be released under the new release cycle. Convenience Factory Methods for Collections – collections can now be initialized using of() methods.StackWalking API – API providing lazy access to the information in stack traces.JShell – a dedicated REPL (Read-Eval-Print-Loop).The most important addition was JPMS (also known as Project Jigsaw), but besides that, we got: ![]() Java 9 was the last feature-oriented Java release ever and featured an impressive number of 81 JEPs. We’re also more likely to see more Preview, Incubating, and Experimental features.īut not all Java versions are made equal – only one release every three years can be considered LTS (Long Term Support), with the last LTS being Java 17. Now, a Java version appears every six months and all the ready features get released, which speeds up the evolution of Java – which is a great thing on its own but can generate confusion for people that got used to the fact that one would expect a new Java version to be released after years not months of waiting. Unfortunately, this approach was quite harmful since numerous improvements could not be released until the main feature was ready. In the past, Java releases were driven by prominent features like Lambda Expressions or Generics. Last update: Main Source of Confusion: New Release Cycle This article is supposed to be an up-to-date source of curated information about changes that arrived in Java recently and those that are about to – everything condensed into just a few minutes of reading.Īfter adopting a new cadence-based release cycle, new Java versions started appearing like crazy, and if you haven’t caught up yet – this is an excellent place to start. ![]()
0 Comments
Leave a Reply. |