Eclipse publishing tools support 14 new features of Java

Java 14, although not yet released, but recently launched a see Eclipse in Eclipse 2020-03 (4.15) tools support Java 14 features :

According to reports, this tool provides support for Java 14 Eclipse 2020-03 (4.15), want to install this feature, you need to make sure you have installed the following version or later version 4.15 IDE Eclipse:

https://download.eclipse.org/eclipse/downloads/drops4/I20200123-0430

This feature can also be installed by P2 update site:

https://download.eclipse.org/eclipse/updates/4.15-P-builds

Meanwhile, Eclipse Java 14 also gives information about new features demo list:

https://wiki.eclipse.org/Java14/Examples

But now the demo page and no relevant content, should still need to wait until Java 14 properties further determination will be released. About characteristics of Java 14, we will continue to follow up next, but we had already reported related properties , the main ones being the following forecasting features:

  • Improved NullPointerExceptions, to null to increase the availability of JVM abnormality which variables generated by the accurate description. The author of the proposal hope to provide useful information about the program aborted why developers and support staff, and more clearly the dynamic and static abnormalities associated with program code to improve understanding of the process through.
  • Mapping bytes of nonvolatile buffer add new JDK particular file mapping mode, which allows for creating a reference MappedByteBuffer FileChannel API instance nonvolatile memory (NVM) a. NVM so that developers can build and update programs across the state, but does not produce a lot of copying and translation costs typically require input and output operations, which is particularly important for trading programs. The main objective is to enhance the proposal to ensure that clients have consistent and efficient access and update the NVM from Java programs; the second goal was a restricted use Unsafe class defined in the JDK internal API to achieve this behavior so may need to be submitted to the reuse of the other classes than the NVM a MappedByteBuffer; another object is to allow the existing API trace buffers mapped NVM in order to monitor and manage.
  • Switch Expressions are in the preview state JDK 12 and 13, it is expected to become stable characteristics in JDK 14. switch expression extends switch statement, it not only as a statement (Statement), may also be used as an expression (expression The), and both are written using conventional syntax switch, or using a simplified "case L ->" Mode matching syntax and act on a range of different control execution flow. These changes will simplify routine coding, and to switch the pattern matching (JEP 305) ready.

Now after two or three months, new features have also been subject to change details, refer to:

https://jdk.java.net/14/release-notes

Guess you like

Origin www.oschina.net/news/112983/java-14-support-eclipse-2020-03-415