Skill Level Intermediate
- [David] Ever since Oracle moved from upgrading Java every one to three years to releasing a new version every six months, developers and their organizations have had to consider this question frequently, should I upgrade? What are the benefits of each new Java release and do those benefits outweigh the resources I'll need to move my application to the latest version? Remember that all Java releases aren't equal. Java 15, the version I'm covering in this course, is what Oracle calls a non-long-term support release. That means that Java 15 will only be directly supported by Oracle until the next release comes along six months later. Long-term support releases are supported for three years. The last LTS version was Java 11, released in September of 2018, and the next one will be Java 17 in 2021. You may feel that it's only worth migrating an application to a new version of Java when that extended support will be available for a significant amount of time. But on the other hand, each of these non-LTS releases offers new features, improvements to the language and the Java virtual machine. If your application would benefit from one or more of these features, the upgrade might be worth considering. Java 12 got new benchmarking tools, Version 13 introduced new memory management capabilities, Java 14 brought switch expressions, and this new version, Java 15, add support for long text blocks that can be assembled with much more readable code than previously, and there's more. New garbage collectors, hidden classes designed for use by framework creators, and other runtime improvements. There's no perfect answer for everyone. No one size fits all. If you're a Java programmer or a build engineer managing Java software releases or a development manager, you should know what's available in each new version of the platform, then you can decide for yourself when it's time to make the move. My name is David Gassner, and I'd like to welcome you to this first look at what's new in Java 15.