< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/LambdaInBaseArchive.java

Print this page
*** 80,12 ***
  
          run2(baseArchiveName, topArchiveName,
              "-Xlog:class+load,cds+dynamic=debug,cds=debug",
              "-cp", appJar, mainClass)
              .assertNormalExit(output -> {
!                 output.shouldContain("LambHello source: shared objects file")
!                       .shouldMatch("class.load.*LambHello[$][$]Lambda.*0x.*source:.shared.objects.file")
!                       .shouldNotMatch("class.load.*LambHello[$][$]Lambda.*0x.*source:.shared.objects.file.*(top)");
                  });
  
      }
  }
--- 80,13 ---
  
          run2(baseArchiveName, topArchiveName,
              "-Xlog:class+load,cds+dynamic=debug,cds=debug",
              "-cp", appJar, mainClass)
              .assertNormalExit(output -> {
!                 // FIXME:leyden-premain : we disabled archived Lambda proxy classes due to JDK-8307468
!                 // output.shouldContain("LambHello source: shared objects file")
!                    // .shouldMatch("class.load.*LambHello[$][$]Lambda.*0x.*source:.shared.objects.file")
+                    // .shouldNotMatch("class.load.*LambHello[$][$]Lambda.*0x.*source:.shared.objects.file.*(top)");
                  });
  
      }
  }
< prev index next >