Java Language SpecificationJava SE 16 Edition
Java SE 16 Edition
The Java Language Specification, Java SE 16 Edition, was the official, authoritative specification of the Java programming language. It was published in February 2021 and followed the Java SE 15 Edition of the JLS.
It specifies the Java programming language as implemented in Java SE 16.
This Java SE 16 Edition goes beyond the Java SE 15 Edition of the JLS by specifying the following features:
- pattern matching for
- sealed classes (but only as a second preview feature)
This language change was introduced in Java SE 16 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.