langtools/test/jdk/jshell/ClassMembersTest.java
changeset 38908 f0c186d76c8a
parent 33362 65ec6de1d6b4
child 41940 048d559e9da7
--- a/langtools/test/jdk/jshell/ClassMembersTest.java	Wed Jul 05 21:49:00 2017 +0200
+++ b/langtools/test/jdk/jshell/ClassMembersTest.java	Wed Jun 08 00:32:31 2016 -0700
@@ -23,6 +23,7 @@
 
 /*
  * @test
+ * @bug 8139829
  * @summary Test access to members of user defined class.
  * @build KullaTesting TestingInputStream ExpectedDiagnostic
  * @run testng/timeout=600 ClassMembersTest
@@ -61,8 +62,8 @@
         String source = input;
         while (!source.trim().isEmpty()) {
             SourceCodeAnalysis.CompletionInfo info = codeAnalysis.analyzeCompletion(source);
-            list.add(info.source);
-            source = info.remaining;
+            list.add(info.source());
+            source = info.remaining();
         }
         return list;
     }