Reference docMembers

Java 17 to Java 21 Upgrade Guide

Java 17 to Java 21 Upgrade Guide is a reference document for GitHub Copilot, from the GitHub awesome-copilot collection by github. The full text is about 1,689 words in 26 sections, with 17 code blocks. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.

It is most useful for people working in Backend and Product and engineering who use GitHub Copilot.

What it covers

  • Major Language Features in JDK 18-21
  • Pattern Matching for switch JEP 441 - Standard in 21
  • Record Patterns JEP 440 - Standard in 21
  • Virtual Threads JEP 444 - Standard in 21
  • String Templates JEP 430 - Preview in 21
  • Sequenced Collections JEP 431 - Standard in 21
  • Scoped Values JEP 446 - Preview in 21, requires --enable-preview
  • API Enhancements and New Features
  • UTF-8 by Default JEP 400 - Standard in 18
  • Simple Web Server JEP 408 - Standard in 18

The full text is in the members library

Book a call and we will give you access to the full GitHub Copilot library: every entry in full, search by meaning, copy and download.

Source: https://github.com/github/awesome-copilot/blob/main/skills/java-upgrade/references/java-17-to-21.md

Author: github, GitHub awesome-copilot. License: MIT.

Related entries