Skip to content

19. Java 17 transition

Ilkka Seppälä edited this page Dec 1, 2022 · 23 revisions

Overview

Background Material

https://mydeveloperplanet.com/2021/09/28/whats-new-between-java-11-and-java-17/

Preparing for the Transition

Switch from JDK11 to JDK17

  • Configure Maven plugins to use Java 17 and verify that build works using JDK17
  • Update CI configuration to use JDK17

After the Transition

  • Update wiki documentation
  • Start using text blocks
  • Update switch expressions
  • Start using records (get rid of Lombok?)
  • Start using sealed classes
  • Pattern matching for instanceof
  • Stream.toList()