Compact profile modules
Mandy Chung
mandy.chung at oracle.com
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.
Mandy
[1] https://bugs.openjdk.java.net/browse/JDK-8171201
[2] http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-December/010561.html
> On Jan 16, 2017, at 1:35 PM, Sander Mak <sander.mak at luminis.eu> 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] http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-December/010603.html
More information about the jigsaw-dev
mailing list