Java 9 is the latest version of Java. Here are some features that are available in Java 9::

 

  • Project Jigsaw
  • Project Jigsaw is the modularization of Java. Basically, it means that programming code is broken up and organized into modules based upon the tasks that those modules execute. By doing this, modules are reusable and far easier to manage and debug. This means that software development becomes easier, more streamlined, and debugged faster. This is a key difference between Java 8 and Java 9.

 

  • The Jshell Command Line Tool
  • This is an interactive tool that will allow testing of small snippets of code rather than requiring the creation of a new class. This new shell also comes with history and auto-completion features as well as other functionalities, like saving and loading some or all written statements.

 

  • Multi-Resolution Image
  • This API will allow the encapsulation of a set of images that all have different resolutions into a single object. Thus, a developer can retrieve an image that is resolution-specific or retrieve all variants within the image.

 

  • Unified JVM Logging
  • Now there is a common logging system for all JVM components. However, if we look at pros and cons of Java 9, here is one. It doesn’t add logging calls from all JVM components and doesn’t add logging to Java code in the Java Development Kit.

 

  • Publish-Subscribe Framework
  • This is an improvement over Java 8, as these interfaces will better support the interoperability of a number of asynchronous systems that run on JVM’s (Java Virtual Machines). The idea behind JVM’s is that they allow any computer to run a Java program, by converting Java code into machine language and then executing it. Improvements in this area are one of the big advantages of Java 9.

 

Other Miscellaneous Improvements

  • GC (Garbage Collector) Improvements
  • Stack-Walking API
  • Filter Incoming Serialization Data
  • Deprecate the Applet API
  • Enhanced Method Handles
  • Java Platform Logging API and Service
  • Compact Strings
  • Parser API for Nashorn
  • Javadoc Search
  • HTML5 Javadoc

 

 

Share This :

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>