Making the Java language more expressive via new constructs and syntax variations.
Jakarta Enterprise Edition 9
javax.*
to jakarta.*
Java Standard Edition 14
switch
expressionsinstanceof
pattern matching (preview)Java Standard Edition 15
Java Standard Edition 16
instanceof
pattern matchingUS Supreme Court rules in favor of Google in Google LLC v. Oracle America, Inc.
Java Standard Edition 17
switch
pattern matching (preview)Java Standard Edition 18
@snippet
in JavaDoc standard docletObject.finalize()
deprecatedJava Standard Edition 19
Java Standard Edition 20
Java Standard Edition 21
switch
pattern matchingmain
methods (preview)Java Standard Edition 22
super(...)
(preview)