langtools/test/jdk/jshell/CompletionSuggestionTest.java
changeset 44061 d9ddf704d193
parent 43146 7c249fca6c06
child 44064 ca20a5923619
--- a/langtools/test/jdk/jshell/CompletionSuggestionTest.java	Fri Mar 03 09:58:11 2017 -0800
+++ b/langtools/test/jdk/jshell/CompletionSuggestionTest.java	Fri Mar 03 10:58:08 2017 -0800
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 8131025 8141092 8153761 8145263 8131019
+ * @bug 8131025 8141092 8153761 8145263 8131019 8175886
  * @summary Test Completion and Documentation
  * @library /tools/lib
  * @modules jdk.compiler/com.sun.tools.javac.api
@@ -295,6 +295,11 @@
                 new HashSet<>(Arrays.asList("class")));
     }
 
+    public void testImportStart() {
+        assertCompletion("import ja|", "java", "javax");
+        assertCompletion("import o|", "org");
+    }
+
     public void testBrokenClassFile() throws Exception {
         Compiler compiler = new Compiler();
         Path testOutDir = Paths.get("CompletionTestBrokenClassFile");