Posts

Showing posts with the label Linking Modules - JLink

Java 9 Modularity - First look

Image
Hi, I am Malathi Boggavarapu working at Volvo Group and i live in Gothenburg, Sweden. I have been working on Java since several years and had vast experience and knowledge across various technologies. Java 9 Modularity - First look Module system is one of the biggest changes to java ever in it's 20  years of existence because modular system does not only effects the language by the new keywords and new features but it also effects the compiler. The compiler needs to know how to translate new features and need to know the module boundaries to enforce them at compile time. Then after the compiler is done, all the method data of the modules is preserved in binary format and loaded by virtual machine. The JVM too should know about modules and modular boundaries and uses this information to ensure reliable configuration of modules together and to enforce modular boundaries again. Tooling needs to change as well for modular system. Think of IDE's and libraries,