--- 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;
}