📜 ⬆️ ⬇️

Announced new Java 9 features

Oracle took seriously the development of JDK9 and published the first list of "suggestions for improvement" (JEP), which describe the new features of Java 9. The list is small and conservative, but it will probably be supplemented in the next two years before the release of Java 9.

Software interfaces


Three new software interfaces are presented.



Performance / JVM


Here, too, proposed three improvements (for a start).
')


One More Thing ...


Another new feature in Java 9 is the standard modular structure of the JDK source code .

  src / $ MODULE / {share, $ OS} / classes / $ PACKAGE / *. java
                         native / include / *. {h, hpp}
                                $ LIBRARY / *. {C, cpp}
                         conf / * 

The change will not affect the binaries in any way, but it will greatly improve the work with source codes: it will be easier to port Java to mobile devices, “cutting off” unnecessary modules, it will be easier to study the code structure and look for bugs / vulnerabilities, etc. Ultimately, this will lead to improved application performance, and to simplify the creation and support of libraries and large projects on the Java SE and EE platforms.

Code refactoring will be a continuation of the old Jigsaw project .



Previously announced a few dozen minor improvements in Java 9, but these, which are announced now, are the most significant.

Source: https://habr.com/ru/post/234031/


All Articles