Unable to compile modules with references to automatic modules - "cannot find module: jdk.management.resource"

Alan Bateman Alan.Bateman at oracle.com
Sun Nov 8 10:42:10 UTC 2015


On 08/11/2015 09:56, Florian Troßbach wrote:
> :
>
> I did some more “research" about the OSX build though, and i found 
> this: 
> https://www.mail-archive.com/build-dev@openjdk.java.net/msg15343.html. 
> This prompted me to replace the offending sections 
> from /hotspot/make/bsd/makefiles/gcc.make (around line 324) with the 
> equivalent from the non-jigsaw sources that I managed to compile 
> successfully. Lo and behold, this worked like a charm.
>
Good to hear you got it building on both Linux and OS X.

On the Xcode/clang issue then this has been fixed in JDK 9 in jdk9-b89 
via JDK-8138820 [1]. The jigsaw/jake forest and EA builds currently 
based on jdk9-b86 so a bit behind. We were sync'ing up jigsaw/jake 
weekly but most of us have been too busy recently and this is why 
jigsaw/jake is a bit behind. There is quite a bit of merging needed to 
do these syncs up but we will get jigsaw/jake sync'ed up soon.

-Alan

[1] https://bugs.openjdk.java.net/browse/JDK-8138820


More information about the jigsaw-dev mailing list