System Modules
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Mon Dec 5 19:01:21 UTC 2016
2016/12/4 7:28:01 -0800, forax at univ-mlv.fr:
> I do not like the current definition of what a system module is,
> i.e. the modules returned by ModuleFinder.ofSystem().
>
> Maybe i'm wrong but it's all modules available through jrt, so if one
> uses an image created by jlink, the application modules are considered
> as system modules (because there are also loaded by jrt)
Correct.
> which seems
> wrong to me.
>
> I think we should de-couple the notion of being in the jrt image and
> being a system module.
The "system" modules are exactly those built-in to a run-time image,
though we should make that clearer in the API specification.
If you want a module finder for just the Java SE Platform modules,
or for all non-application system modules (i.e., SE + JDK), then
it's pretty easy to construct a filtering module finder to do that.
Do you think such finder(s) should be provided by the API?
- Mark
More information about the jpms-spec-experts
mailing list