Premise: I have had 2 classes loaded by different class loaders – one from the app classloader and the other, a custom class loader. The class loaded by the custom class loader is trying to reflectively access a private field in the class loaded via the appclass loader. In this case, I get a runtime error along the lines of
Tag: unnamed-module
Java 9 migration issue – package com.mymodule is declared in unnamed module , module ‘newmodule’ does not read it
I have created a multimodule project with the following structure Now i want to use Util.java which is a non modularized code in a modularized module newmodule. i have declared following in newmodule Project is compiling fine, but Intellij is showing module not found and package com.mymodule is declared in unnamed module , module ‘newmodule’ does not read it. How