Java Language SpecificationJava SE 15 Edition
The Java Language Specification, Java SE 15 Edition, was the official, authoritative specification of the Java programming language. It was published in August 2020 and followed the Java SE 14 Edition of the JLS.
It specifies the Java programming language as implemented in Java SE 15.
This Java SE 15 Edition goes beyond the Java SE 14 Edition of the JLS by specifying the following feature:
- text blocks (multi-line string literals)
- pattern matching for
instanceof(but only as a second preview feature)
- records (but only as a second preview feature)
- sealed classes (but only as a preview feature)
This language change was introduced in Java SE 15 in 2020.
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.