On Mon, 28 Apr 2025 13:26:30 GMT, Jan Lahoda <jlah...@openjdk.org> wrote:

>> This is a patch to finalize the module imports feature. Please see:
>> https://bugs.openjdk.org/browse/JDK-8344700
>
> Jan Lahoda has updated the pull request with a new target base due to a merge 
> or a rebase. The pull request now contains 13 commits:
> 
>  - Merge branch 'master' into JDK-8344708
>  - Adjusting ToolProviderTest to the updated persistence handling.
>  - Merge branch 'master' into JDK-8344708
>  - Reflecting review feedback: cleanup formatting in ModuleInfo.
>  - Reflecting review feedback - avoiding hardcoded constants.
>  - Fixing test.
>  - Cleanup, fixing tests.
>  - Adjusting JShell defaults.
>  - Fixing tests.
>  - Cleanup - updated specification will permit requires transitive java.base; 
> for all classfile versions; java.se no longer participates in preview.
>  - ... and 3 more: https://git.openjdk.org/jdk/compare/1f228e55...da39d0ef

src/jdk.jshell/share/classes/jdk/jshell/SnippetMaps.java line 197:

> 195:             return full.substring(pkg.length() + 1);
> 196:         }
> 197:         Stream<String> mods = importSnippets()

Should this variable be called `mods` ? AFAIU, it lists all the packages 
exported by a module.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/23801#discussion_r2066007798

Reply via email to