© Kishori Sharan 2017

Kishori Sharan, Java 9 Revealed, 10.1007/978-1-4842-2592-9_8

8. Breaking Changes in JDK 9

Kishori Sharan

(1)Montgomery, Alabama, USA

In this chapter, you will learn:

  • What the new JDK versioning scheme is

  • How to parse a JDK version string using the Runtime.Version class

  • What the new directory layout of the JDK/JRE 9 is

  • How the Endorsed Standards Override Mechanism works in JDK 9

  • Changes in using the extension mechanism in JDK 9

  • How class loaders work in JDK 9 and how modules are loaded

  • How resources are encapsulated in modules in JDK 9

  • How to access resources in modules using the resource-finding methods in the Module, Class, and ClassLoader classes

  • What the jrt URL scheme is and how to use it to access resources in the runtime image ...

Get Java 9 Revealed: For Early Adoption and Migration now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.