< prev index next >

test/jdk/java/lang/invoke/condy/CondyNestedResolutionTest.java

Print this page
*** 42,11 ***
   *      is either the same as X or has a static argument that references X through its static arguments,
   *      directly or indirectly, resolution fails with a StackOverflowError.
   */
  public class CondyNestedResolutionTest {
      public static void main(String args[]) throws Throwable {
!         ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder("CondyNestedResolution");
          OutputAnalyzer oa = new OutputAnalyzer(pb.start());
          oa.shouldContain("StackOverflowError");
          oa.shouldContain("bsm1arg");
          oa.shouldContain("hello1");
          oa.shouldContain("hello2");
--- 42,11 ---
   *      is either the same as X or has a static argument that references X through its static arguments,
   *      directly or indirectly, resolution fails with a StackOverflowError.
   */
  public class CondyNestedResolutionTest {
      public static void main(String args[]) throws Throwable {
!         ProcessBuilder pb = ProcessTools.createTestJavaProcessBuilder("CondyNestedResolution");
          OutputAnalyzer oa = new OutputAnalyzer(pb.start());
          oa.shouldContain("StackOverflowError");
          oa.shouldContain("bsm1arg");
          oa.shouldContain("hello1");
          oa.shouldContain("hello2");
< prev index next >