jdk.unsupported module missing from compact profiles
Simon Nash
simon at cjnash.com
Sat Oct 29 22:09:31 UTC 2016
My application uses sun.misc.SignalHandler which is now in the jdk.unsupported
module. This class is available when running with the full JRE but not when
running with the compact3 JRE.
The sun.misc.* classes are available in the compact1/2/3 profiles in JDK 8 and
I don't see any reason why the compact1/2/3 profiles should not contain these
classes in JDK 9.
To fix this, the Images.gmk file should be modified to change line 51 from:
COMPACT1_EXTRA_MODULES := jdk.localedata jdk.crypto.pkcs11 jdk.crypto.ec
to:
COMPACT1_EXTRA_MODULES := jdk.localedata jdk.crypto.pkcs11 jdk.crypto.ec jdk.unsupported
Regards,
Simon
More information about the jigsaw-dev
mailing list