Compact profile modules

Mandy Chung mandy.chung at
Mon Jan 16 21:51:52 UTC 2017

java.compact$N modules were removed in jdk-9+150 [1][2].

We revisited the need for java.compact$N aggregator.  Compact Profiles
were useful in SE 8 but are legacy in 9, as intended from the outset. Highlighting them in the standard SE 9 module graph gives them 
unnecessary importance going forward. We want people who care about 
small systems to think about modules, not profiles. 

In addition, these aggregator modules are not a complete solution
since the necessary service providers are still needed to be added
manually for the Compact Profile builds.


> On Jan 16, 2017, at 1:35 PM, Sander Mak <sander.mak at> wrote:
> The build I'm currently using (jigsaw-b151) doesn't contain the java.compactN modules anymore. Looks like this is a deliberate removal [1], although I can't find any reason for it. Are they permanently gone? Why? They made for such a nice example of implied readability in the JDK... They were also useful in constructing small images with jlink. As I understood things at JavaOne, jlink with the compact module definitions was supposed to be a 'migration path' from Java SE 8 embedded.
> Sander
> [1]

More information about the jigsaw-dev mailing list