In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about the new features of Java 13. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
In order to iterate faster, and to follow up on community feedback, Java's release cycle has been changed to once every six months-a large version every six months, an intermediate feature version every quarter, and a promise not to skip tickets. In this way, the development team can incorporate some key features into JDK as soon as possible to get developer feedback quickly.
▲ 's children's shoes using Java 12 can be upgraded.
In the latest news, Java 13 has entered the Rampdown Phase One (RDP 1) state, which means that the feature has been frozen. Next, open the stable version library, and mainly carry out bug fixes and feature enhancements.
According to the lifecycle, the GA version will be released on September 17. For more information about the release process of JDK, please see:
Http://openjdk.java.net/jeps/3 .
Let's take a look at the new features brought by the five JEP of JDK 13:
JEP 350,Dynamic CDS Archives
Extend application classes-data sharing to allow dynamic archiving of classes at the end of Java application execution. The archive class will include all loaded application classes and library classes that do not exist in the default base layer CDS (class data-sharing) archive.
JEP 351,ZGC: Uncommit Unused Memory
Enhance ZGC to return unused heap memory to the operating system.
JEP 353,Reimplement the Legacy Socket API
Replace the underlying implementation used by java.net.Socket and java.net.ServerSocket API with a simpler, more modern implementation that is easy to maintain and debug.
JEP 354: Switch Expressions (Preview)
For switch expressions that can be used in a production environment, a beta version implementation will be included in JDK 13. Switch expressions extend switch statements so that they can be used not only as statements (statement) but also as expressions (expression), and both can be written using the traditional switch syntax, or using the simplified "case L->" pattern matching syntax to act on different ranges and control the execution flow. These changes simplify day-to-day coding and prepare for pattern matching in switch (JEP 305).
JEP 355 Magi text Blocks (Preview)
Add a block of text to the Java language. A text block is a multiline string text that avoids the need for most escape sequences, automatically formats the string in a predictable manner, and allows the developer to control the format when needed.
These are the new features of Java 13 shared by the editor. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.