On 07/11/2015 10:15, Florian Troßbach wrote:
:

When I compile my modules with

javac -d . -mp ../jars -modulesourcepath . -verbose   $(find . -name
"*.java")

I get the attached output. The raised error is "error: cannot find module:
jdk.management.resource”.


This is a bug in the EA build where they are qualified exports to jdk.management.resource but this module is not in the builds. So it's a build issue, I'll create a bug to track this. If you build the JDK yourself, from the jigsaw/jake sources, then you won't run into this issue, it is specified to how the EA builds are created.

That said, I'm not 100% sure why javac runs into it here, I'm sure Jon or Jan can explain that.

-Alan.

Reply via email to