Java 13

Java 13 – Miscellaneous Changes

Java 13 have introduced three new methods to java.nio.file.FileSystems to treat the content of a file as a file system easily.

  1. newFileSystem(Path)
  2. newFileSystem(Path, Map<String, ?>)
  3. newFileSystem(Path, Map<String, ?>, ClassLoader)

Following are other major changes added to language.

  1. java.time – Japanese era name added
  2. javax.crypto – MS Cryptography Next Generation (CNG)support
  3. javax.security – jdk.sasl.disabledMechanisms property added disabling SASL mechanisms
  4. javax.xml.crypto – String constants introduced to represent Canonical XML 1.1 URIs
  5. javax.xml.parsers – Methods added to instantiate DOM and SAX factories for namespaces support
  6. Unicode support is upgraded to version 12.1
  7. Kerberos principal name canonicalization support added, cross-realm referrals are supported.

API marked for Removal

  1. SocketImpl implementations prior to JDK 1.4
  2. javax.security.cert API
  3. rmic
  4. javadoc tool old features

Other details are available at following link https://cr.openjdk.java.net/~iris/se/13/latestSpec/#APIs-proposed-for-removal.

About the Author: Elavarasan PK

Technical Specialist, Intersoft Data Labs