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).
Features
350: Dynamic CDS Archives
351: ZGC: Uncommit Unused Memory
353: Reimplement the Legacy Socket API
354: Switch Expressions (Preview)
355: Text Blocks (Preview)
Schedule
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
新特性:
JEP 350,Dynamic CDS Archives:扩展应用程序类-数据共享,以允许在Java应用程序执行结束时动态归档类。归档类将包括默认的基础层CDS(class>
JEP 351,ZGC: Uncommit Unused Memory:增强ZGC以将未使用的堆内存返回给操作系统。
JEP 353,Reimplement the Legacy Socket API:使用易于维护和调试的更简单、更现代的实现替换java.net.Socket和java.net.ServerSocket API使用的底层实现。
JEP 354,Switch Expressions (Preview):可在生产环境中使用的 switch表达式,JDK 13中将带来一个beta版本实现。switch表达式扩展了switch语句,使其不仅可以作为语句(statement),还可以作为表达式(expression),并且两种写法都可以使用传统的switch语法,或者使用简化的“case L ->”模式匹配语法作用于不同范围并控制执行流。这些更改将简化日常编码工作,并为switch中的模式匹配(JEP 305)做好准备。
JEP 355,Text Blocks (Preview):将文本块添加到Java语言。文本块是一个多行字符串文字,它避免了对大多数转义序列的需要,以可预测的方式自动格式化字符串,并在需要时让开发人员控制格式。
评论列表(0条)