What is an open module in Java 9 and how to use it
What is the difference between module with open keyword before and without it? For instance: open module foo { } module foo { } Michał Szewczyk In order to provide reflective access to your module, Java 9 introduced open keyword. You can create open module by using open keyword in module declaration. An open module grants reflective access to all of it's packages to other modules. For example, if you want to use some framework, that heavily relies on reflection, such as Spring, Hibernate etc, you can use this keyword, to enable reflective access for it. You can enable reflective access for