学习笔记 : 详解JDK 13中的新特性
简介
JDK 13 is the open-source reference implementation of version 13 of the Java SE Platform as specified by by JSR 388
in the Java Community Process. JDK 13 reached General Availability on 17 September 2019. Production-ready binaries under the GPL are available from Oracle; binaries from other vendors will follow shortly. The features and schedule of this release were proposed and tracked via the JEP Process, as amended by the JEP 2.0 proposal
. The release was produced using the JDK Release Process (JEP 3)
.
特性
- 350: Dynamic CDS Archives
- 351: ZGC: Uncommit Unused Memory
- 353: Reimplement the Legacy Socket API
- 354: Switch Expressions (Preview)
- 355: Text Blocks (Preview)
时间表
- 2019/06/13 Rampdown Phase One (fork from main line)
- 2019/07/18 Rampdown Phase Two
- 2019/08/08 Initial Release Candidate
- 2019/08/22 Final Release Candidate
- 2019/09/17 General Availability
Switch Expressions 特性演示
1 | /* |
Text Blocks 特性演示
1 | //解释:左边的文本块相当于右边的字符串文字 |
👍For more information, please refer to : http://openjdk.java.net/projects/jdk/13/ and the document : https://docs.oracle.com/en/java/javase/13/
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment