RFR: 8316969: Improve CDS module graph support for --module option
Alan Bateman
alanb at openjdk.org
Tue Oct 17 22:51:49 UTC 2023
On Thu, 5 Oct 2023 16:18:57 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Maybe we can add a new native method `jdk.internal.misc.CDS.isBuiltinModule(Module m)` which tests if `ModuleEntry::_location` starts with `"jrt:"`?
There isn't any really notion of "built-in module", they may be modules in the run-time image that start with names such than "java." or "jdk.". Are you just looking to know if the module is in the run-time image and hasn't been upgraded?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16016#discussion_r1348280322
More information about the core-libs-dev
mailing list