> On 15 Dec 2016, at 09:17, Alan Bateman <alan.bate...@oracle.com> wrote: >> ... >> When we use —-module-version for user modules, the runtime will load >> regex. The system modules jlink plugin uses the cached version if >> JDK modules to be compiled with —0module-version in the future. >> This might be something we should look at in the future for performance. > I'm sure Claes will be interested in that although I don't think we have any > need to compile the JDK modules with --module-version, except maybe for > testing exploded modules.
Don’t we want the Optional<Version> returned by Requires::compiledVersion to be non-empty, for system modules? -Chris.