On Fri, 24 Oct 2025 12:18:25 GMT, Jan Lahoda <[email protected]> wrote:
> `Modules.enter` completes all root modules, but in case of additional modules > being added to the module graph via `Modules.addExtraAddModules` (either from > javadoc, or using the `CompilationTask.addModules`, these extra modules may > not be completed at this time. Normally, they are completed eventually, but > if their `module-info`s contain `import module`, an NPE will appear while > checking the import, before the complete happens. > > The proposal herein is to consistently complete all modules in the module > graph when the module graphs is setup. This pull request has now been integrated. Changeset: 8af59437 Author: Jan Lahoda <[email protected]> URL: https://git.openjdk.org/jdk/commit/8af594371979b2b76ec04e0a2753413dc35b8d44 Stats: 77 lines in 3 files changed: 71 ins; 0 del; 6 mod 8370334: javadoc NPE with "import module" statement Reviewed-by: vromero ------------- PR: https://git.openjdk.org/jdk/pull/27974
