In September 2021, Oracle released Java 17, which meant a whopping 6 new versions in less than 3 years. Despite this rapid succession, JDK17 brings exciting new features. Developers can explore the future. Curious about the possibilities of JDK 17? Let's explore.
Oracle's decision to look back six versions is not arbitrary. Since 2018, Oracle has been releasing a new version every six months, aiming for an LTS (Long Term Support) release every two years, although this is not quite on track yet. JDK 17, an LTS release, is expected to be succeeded by Java 21 in 2023.
Oracle's faster release schedule allows new features to be tested before formal inclusion. For one or two releases, developers can work with these features as previews, such as JEP 359 Records. Activating preview features involves adding '-enable-preview' as a compiler argument.
As an LTS release, Java 17 is expected to be widely adopted. Three notable features deserve attention in this release:
Java 17 is packed with innovations. From local variable type inference to improved switches and pattern recognition, these features simplify coding. For Java developers who want to make use of the latest JDK, Java 17 offers a compelling toolkit.
In need of IT Development & Testing professionals? Spilberg gets you to the next step with our extensive network of experts. Read more about our staffing services for organisations
Want to boost your career? Spilberg is the partner that helps you to your next assignment or employer. Read more about the possibilities