-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
generic
-
generic
jshell> /set
editor exports feedback format mode prompt start truncation
jshell> /set exports j
java.base java.compact1 java.compact2 java.compact3 java.compiler java.datatransfer
java.desktop java.httpclient java.instrument java.logging java.management java.naming
java.prefs java.rmi java.scripting java.se java.security.jgss java.security.sasl
java.smartcardio java.sql java.sql.rowset java.xml java.xml.crypto jdk.accessibility
jdk.attach jdk.charsets jdk.compiler jdk.crypto.ec jdk.crypto.pkcs11 jdk.dynalink
jdk.httpserver jdk.internal.le jdk.internal.opt jdk.jartool jdk.javadoc jdk.jconsole
jdk.jdeps jdk.jdi jdk.jlink jdk.jshell jdk.jsobject jdk.jstatd
jdk.jvmstat jdk.localedata jdk.management jdk.naming.dns jdk.naming.rmi jdk.net
jdk.scripting.nashorn jdk.sctp jdk.security.auth jdk.security.jgss jdk.unsupported jdk.vm.ci
jdk.xml.dom jdk.zipfs
jshell> /set exports jdk.jshell jdk.
jdk.internal.jshell.debug jdk.internal.jshell.tool jdk.internal.jshell.tool.resources jdk.jshell
jdk.jshell.execution jdk.jshell.execution.code jdk.jshell.execution.extention jdk.jshell.resources
jdk.jshell.spi
jshell> /set exports jdk.jshell jdk.
test cases:
a -> assertCompletionContains(a, "/set exports |", false, "java.base ", "jdk.jconsole "),
a -> assertCompletionContains(a, "/set exports java.base |", false, "java.util", "jdk.internal.misc"),
a -> assertCompletionContains(a, "/set ex jdk.jconsole |", false, "sun.tools.jconsole"),
a -> assertCompletionContains(a, "/set ex jdk.jshell jdk.in|", false, "jdk.internal.jshell.tool"),
a -> assertCompletionContains(a, "/set ex jdk.jconsole |", false, "sun.tools.jconsole"),
a -> assertCompletion(a, "/set ex not.found |", false),
a -> assertCompletionContains(a, "/retain exports |", false, "java.base ", "jdk.jconsole "),
a -> assertCompletionContains(a, "/retain exports java.base |", false, "java.util", "jdk.internal.misc"),
a -> assertCompletionContains(a, "/retain ex jdk.jconsole |", false, "sun.tools.jconsole"),
a -> assertCompletionContains(a, "/retain ex jdk.jshell jdk.in|", false, "jdk.internal.jshell.tool"),
a -> assertCompletion(a, "/retain ex not.found |", false),
editor exports feedback format mode prompt start truncation
jshell> /set exports j
java.base java.compact1 java.compact2 java.compact3 java.compiler java.datatransfer
java.desktop java.httpclient java.instrument java.logging java.management java.naming
java.prefs java.rmi java.scripting java.se java.security.jgss java.security.sasl
java.smartcardio java.sql java.sql.rowset java.xml java.xml.crypto jdk.accessibility
jdk.attach jdk.charsets jdk.compiler jdk.crypto.ec jdk.crypto.pkcs11 jdk.dynalink
jdk.httpserver jdk.internal.le jdk.internal.opt jdk.jartool jdk.javadoc jdk.jconsole
jdk.jdeps jdk.jdi jdk.jlink jdk.jshell jdk.jsobject jdk.jstatd
jdk.jvmstat jdk.localedata jdk.management jdk.naming.dns jdk.naming.rmi jdk.net
jdk.scripting.nashorn jdk.sctp jdk.security.auth jdk.security.jgss jdk.unsupported jdk.vm.ci
jdk.xml.dom jdk.zipfs
jshell> /set exports jdk.jshell jdk.
jdk.internal.jshell.debug jdk.internal.jshell.tool jdk.internal.jshell.tool.resources jdk.jshell
jdk.jshell.execution jdk.jshell.execution.code jdk.jshell.execution.extention jdk.jshell.resources
jdk.jshell.spi
jshell> /set exports jdk.jshell jdk.
test cases:
a -> assertCompletionContains(a, "/set exports |", false, "java.base ", "jdk.jconsole "),
a -> assertCompletionContains(a, "/set exports java.base |", false, "java.util", "jdk.internal.misc"),
a -> assertCompletionContains(a, "/set ex jdk.jconsole |", false, "sun.tools.jconsole"),
a -> assertCompletionContains(a, "/set ex jdk.jshell jdk.in|", false, "jdk.internal.jshell.tool"),
a -> assertCompletionContains(a, "/set ex jdk.jconsole |", false, "sun.tools.jconsole"),
a -> assertCompletion(a, "/set ex not.found |", false),
a -> assertCompletionContains(a, "/retain exports |", false, "java.base ", "jdk.jconsole "),
a -> assertCompletionContains(a, "/retain exports java.base |", false, "java.util", "jdk.internal.misc"),
a -> assertCompletionContains(a, "/retain ex jdk.jconsole |", false, "sun.tools.jconsole"),
a -> assertCompletionContains(a, "/retain ex jdk.jshell jdk.in|", false, "jdk.internal.jshell.tool"),
a -> assertCompletion(a, "/retain ex not.found |", false),
- relates to
-
JDK-8154714 jshell tool: add exports support
- Closed