< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/jvmti/InstrumentationTest.java

Print this page
*** 133,11 ***
              "java/lang/Object id: 0",
              "InstrumentationApp$Intf id: 1",
              "InstrumentationApp$Coo  id: 2 super: 0 interfaces: 1 source: " + custJar,
          };
          String[] sharedClassesWithV2 = TestCommon.concat(v2Classes, sharedClasses);
!         OutputAnalyzer out = TestCommon.dump(appJar, sharedClassesWithV2, bootCP);
          if (out.getExitValue() != 0) {
              System.out.println("Redumping with AppCDSv2 disabled");
                  TestCommon.testDump(appJar, sharedClasses, bootCP);
          }
  
--- 133,11 ---
              "java/lang/Object id: 0",
              "InstrumentationApp$Intf id: 1",
              "InstrumentationApp$Coo  id: 2 super: 0 interfaces: 1 source: " + custJar,
          };
          String[] sharedClassesWithV2 = TestCommon.concat(v2Classes, sharedClasses);
!         OutputAnalyzer out = TestCommon.dump(appJar, sharedClassesWithV2, "-XX:-PreloadSharedClasses", bootCP);
          if (out.getExitValue() != 0) {
              System.out.println("Redumping with AppCDSv2 disabled");
                  TestCommon.testDump(appJar, sharedClasses, bootCP);
          }
  
< prev index next >