This Annex to the Java SE 25 Specification contains the Java SE 25 Editions of The Java Language Specification (JLS) and The Java Virtual Machine Specification (JVMS).
The Java SE 25 Editions include corrections and clarifications made to the JLS and JVMS since the Java SE 24 Editions, that is, since the Final Release of JSR 399. These changes are flagged with vertical bars and colorful text, as follows:
The Java SE 25 Platform includes three final and permanent features that were preview features in Java SE 24:
main Methods
In the Java SE 25 Editions of the JLS and JVMS, these changes are flagged with vertical bars and colorful text, as follows:
The Java SE 25 Platform includes one preview feature whose specification is logically part of the Java SE 25 Edition of the JLS, but is physically distributed in a standalone document:
instanceof, and switch (Third Preview)