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

Reply via email to