August 2017
Beginner
298 pages
7h 26m
English
As you can imagine, the impact of this change is indeed significant, and it pretty much affects the way we write all Java code from now on. In Java 8 and earlier, you didn't have to think twice about using any Java API. All you had to do is import the types you need into your code. Since the JVM knew where to find rt.jar, the necessary classes were always found by the runtime. That's no longer the case with Java 9. Remember in Chapter 3, Handling Inter-Module Dependencies , when you needed a class in the packt.addressbook module from the packt.sortutil module? You couldn't just import the class in your code and use it. You had to go to the module definition of packt.addressbook and specify the dependency ...
Read now
Unlock full access