参考
https://openjdk.org/projects/jdk/21/
背景
JDK 21 reached General Availability on 19 September 2023.
Production-ready binaries under the GPL are available from Oracle;
binaries from other vendors will follow shortly.
2023/09/19 开始,稳定支持版本21
特性
具体新功能点在这里:
Pattern Matching for switch