On Thu, 5 Oct 2023 16:18:57 GMT, Ioi Lam <ik...@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

Reply via email to