RFR: 8353581: Support for `import module` in JShell's code completion

Adam Sotona asotona at openjdk.org
Thu Apr 17 07:49:40 UTC 2025


On Fri, 4 Apr 2025 09:08:17 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> Adding support for `import module ` to JShell's code completion.

The completion is listed correctly, however it adds(or duplicates) some text to the line.  
For example typing "import module java.<tab>" produces:

jshell> import module java.
java.base             java.compiler         java.datatransfer     java.desktop          java.instrument       java.logging          java.management       java.management.rmi   java.naming           
java.net.http         java.prefs            java.rmi              java.scripting        java.security.jgss    java.security.sasl    java.smartcardio      java.sql              java.sql.rowset       
java.transaction.xa   java.xml              java.xml.crypto       
jshell> import module java.java.

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

PR Comment: https://git.openjdk.org/jdk/pull/24442#issuecomment-2812079481


More information about the kulla-dev mailing list