First Look: Java 15

First Look: Java 15

30mIntermediate2020-09-15

Authors

David Gassner

David Gassner

Author of 60+ video-based training courses for software developers

Course details

Get a first look at Java 15. In this course, instructor David Gassner provides an overview of this non-long-term-support release of Java Standard Edition (SE), highlighting changes that developers, build engineers, and software development managers should consider when evaluating whether to upgrade to Java 15. Learn about new features for the Java virtual machine, including support for hidden classes, which help developers protect generated classes from being used by the bytecode of other classes. Plus, learn about changes to the programming language, including how to use text blocks, a feature that eliminates the need for many escape sequences and generally makes it easier to write and format strings that span several lines of code.

Skills covered

First LookJavaOracleProgramming LanguagesSoftware Development

Concepts

Introduction

  • Should I upgrade to Java 15
  • What you should know
  • Install Java 15 and configure IntelliJ IDEA

New Features for the Java Virtual Machine

  • Use hidden classes for JVM framework creators
  • Use ZGC, a scalable, low-latency garbage collector
  • Use Shenandoah, a low-pause-time garbage collector

Changes in the Java Programming Language

  • Manage long text values with text blocks
  • Use scripts without the Nashorn JavaScript engine
  • Challenge - Define and use a text block
  • Solution - Define and use a text block

Conclusion

  • Learning more