Java 9 Will Be Able To Understand Dependencies, Oracle Says

Java 9

Some new information became known to public about Java SE Development Kit 9 that is scheduled to be released in March 2017. Now, developers have less than a year to get an absolutely new modulated platform of Java ready, an Oracle officials say.

Many future development aspects were presented and widely discussed during the Java User Group meeting that was held in the Silicon Valley. The Specification Lead for the Java Language and the Java Virtual Machine at Oracle Alex Buckley pointed out that if the JDK 8 could be described in one word as ‘functional’, JDK 9 in its turn will be ‘transitive’. Based on the Project Jigsaw, a modularization will occur in Java SE Development Kit 9; the whole process of expanding the upcoming functional implantation will be finished and shown in March 2017.

For the better understanding and in order to explain a new motto, it is said that the changes are aimed at making the JDK smarter. The developers assure that it will recognize the dependencies across modules. Then it will try to solve these ‘transitive’ needs during compile period or at launch time.

Buckley has added that ‘modules are about the shapes of programs in the large.’ The innovation will deal with the classes and packages to take more from there. The modules will include every phase of development. They will influence the whole process starting from compiling through testing, then packaging or deploying and finally running. That’s why they are more connected to the tools of the entire ecosystem than such features as lambdas. The functional programming with lambdas was presented in JDK 8 in March 2014.

Simplification of a new system is one of its main features. The module structure is unbelievably comfortable, as Buckley noticed. But the central thing is that such scheme may not break the code you have, however, it’ll be able to break the code system you depend on. Slimming down of the sun.misc package may be a brilliant illustration of the innovation.

The global hopes are set on the Project Jigsaw, which main tasks will include the improvement of the scalability and maintainability. Much attention is also paid to making the better boost performance. The recent post by the Java’s Chief Architect Mark Reinhold speaks about the exceptional opportunities and the state of the module system. Among others, the key to the future success is the change of the mechanisms. The configuration will become more stable when a weak, error-prone class-path mechanism is replaced with a more reliable tool. There is also a demand for the strong encapsulation. That will give a possibility to the component to declare which of the public types will be suitable for the other elements.

Remarkably, the modularization of Java was delayed several times. For the first time, it was meant to be a part of the Java 8. Conversely, it was dropped down from that release. After that, the presentation of the Java 9 was postponed for half a year, up to March 2017.