Java Language Specification
Java SE 17 Edition

The Java Language Specification, Java SE 17 Edition, was the official, authoritative specification of the Java programming language. It was published in August 2021 and followed the Java SE 16 Edition of the JLS.

It specifies the Java programming language as implemented in Java SE 17.

This Java SE 17 Edition goes beyond the Java SE 16 Edition of the JLS by specifying the following features:

  • sealed classes
  • switch pattern matching (but only as a preview feature)

This language change was introduced in Java SE 17 in 2021.

We have not (yet) cross-referenced this language specification with our misconceptions. To find misconception by language specification section, pick one of the cross-referenced specifications.

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.