What has been removed?

Another area of change for the new version of the Java platform is that many platform components have been removed. The following sections represent the most significant components.

Notably, the rt.jar and tools.jar and dt.jar have been removed. These JAR files contained class and other resources files and all resided in the /lib directory.

The endorsed standards override mechanism has been removed. In Java, both javac and java will exit if they detect this mechanism. The mechanism was used for application servers to override some JDK components. In Java, you can use upgradeable modules to achieve the same result.

As previously covered in this chapter, the extension mechanism has also been removed.

The following listed APIs were previously depreciated and have been removed and are not accessible in the current Java platform. Removal of these APIs is the result of the modularization of the Java platform:

  • apple.applescript
  • com.apple.concurrent
  • com.sun.image.codec.jpeg
  • java.awt.dnd.peer
  • java.awt.peer
  • java.rmi.server.disableHttp
  • java.util.logging.LogManager.addPropertyChangeListener
  • java.util.logging.LogManager.removePropertyChangeListener
  • java.util.jar.Pack200.Packer.addPropertyChangeListener
  • java.util.jar.Pack200.Packer.removePropertyChangeListener
  • java.util.jar.Pack200.Unpacker.addPropertyChangeListener
  • java.util.jar.Pack200.Unpacker.removePropertyChangeListener
  • javax.management.remote.rmi.RMIIIOPServerImpl
  • sun.misc.BASE64Encoder
  • sun.misc.BASE64Decoder
  • sun.rmi.transport.proxy.connectTimeout
  • sun.rmi.transport.proxy.eagerHttpFallback
  • sun.rmi.transport.proxy.logLevel
  • sun.rmi.transport.tcp.proxy

The following listed tools have been removed. In each case, the tool was previously depreciated or its functionality superseded by better alternatives:

  • hprof
  • java-rmi.cgi
  • java-rmi.exe
  • JavaDB
  • jhat
  • native2ascii

Two additional things that have been removed in Java are the following:

  • AppleScript engine. This engine was deemed as unusable and has been dropped without replacement.
  • Windows 32-bit client virtual machine. JDK 9 does support a 32-bit server JVM, but not a 32-bit client VM. This change was made to focus on the increased performance of 64-bit systems.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset