Trying to build jdk.base
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Apr 25 07:30:03 PDT 2012
On 2012-04-24 17:15, Erik Joelsson wrote:
>
> * The java files in jdk.base seem to compile fine without other
> modules on the classpath. However, one of the native libraries
> requires sun_misc_GC.h from jdk.rmi.
The reason for this is that modules.config contains:
module base {
//...
include sun.misc.*;
exclude sun.misc.FIFOQueueEnumerator,
sun.misc.LIFOQueueEnumerator,
sun.misc.GC,
//...
}
but the libjava.so library is part of jdk.base; and it includes
sun/misc/GC.c (which is the file that, naturally, includes
sun_misc_GC.h). This creates a discrepancy between Java and native code
contained in the module. My gut feeling is that sun.misc.GC should not
be excluded from jdk.base.
/Magnus
More information about the jigsaw-dev
mailing list