Is it possible to add JRE and JDK modules in child layers?
PavelTurk
pavelturk2000 at gmail.com
Thu Jan 18 13:49:01 UTC 2024
Hi Alan,
Thank you very much for your answer.
You wrote:
> This is the topic that was on the original requirements wish list as "Run-time augmentation of the platform modules". There isn't any general support for this in the JDK. One reason is that module layers, and in this case the boot layer, are immutable. Another reason is that integrity of the platform requires that classes in the java.* packages be defined to the boot or platform class loaders. In other words, you can't have child layers containing modules with java.* classes that are mapped to custom class loaders.
I think that that all layers (including boot layer) must be immutable. What about "Another reason is that integrity of the platform
requires that classes in the java.* packages be defined to the boot or platform class loaders".
Do I understand it correctly that it is ABSOLUTELY, ABSOLUTELY impossible to do find a solution for this problem?
I mean that all today's knowledge in software development are still not enough to find a way
a) to provide integrity of the platform and b) to load standard (JRE/JDK) modules in child layers?
Best regards, Pavel
More information about the jigsaw-dev
mailing list