Compact profiles broken?

Ryan Ernst ryan at iernst.net
Wed May 18 21:24:37 UTC 2016


It appears at least in the latest b118 of jdk9 (I haven't tried any earlier
yet), compact profiles mappings to modules are broken? Doing an import of,
for example, javax.crypto.Cipher, which should exist in all 3 compact
profiles according to java 8 docs [1], fails with java 9.

$ javac -profile compact3 Test.java
Test.java:2: error: Cipher is not available in profile 'compact3'

Have compact profiles changed in some way I don't understand?

[1] https://docs.oracle.com/javase/8/docs/api/javax/crypto/Cipher.html


More information about the jigsaw-dev mailing list