< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/OldSuperInfIndirect.java

Print this page
*** 51,11 ***
          String archiveName = namePrefix + ".jsa";
  
          boolean dynamicMode = CDSTestUtils.DYNAMIC_DUMP;
  
          // create archive with class list
!         OutputAnalyzer output = TestCommon.dump(appJar, appClasses, "-Xlog:class+load,cds=debug,verification=trace");
          TestCommon.checkExecReturn(output, 0,
                                     dynamicMode ? true : false,
                                     "Skipping OldInf: Old class has been linked",
                                     "Skipping IndirectImpInf: Old class has been linked");
  
--- 51,12 ---
          String archiveName = namePrefix + ".jsa";
  
          boolean dynamicMode = CDSTestUtils.DYNAMIC_DUMP;
  
          // create archive with class list
!         OutputAnalyzer output = TestCommon.dump(appJar, appClasses, "-Xlog:class+load,cds=debug,verification=trace",
+                                                 "-XX:-PreloadSharedClasses");
          TestCommon.checkExecReturn(output, 0,
                                     dynamicMode ? true : false,
                                     "Skipping OldInf: Old class has been linked",
                                     "Skipping IndirectImpInf: Old class has been linked");
  
< prev index next >