< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/customLoader/ClassListFormatD.java

Print this page
*** 52,11 ***
          dumpShouldFail(
              "TESTCASE D1: duplicated id:",
              appJar, classlist(
                  "Hello",
                  "java/lang/Object id: 1",
!                 "CustomLoadee id: 1 super: 1 source: " + customJarPath
              ),
              "Duplicated ID 1 for class CustomLoadee");
  
          dumpShouldFail(
              "TESTCASE D2: bad ID for super:",
--- 52,12 ---
          dumpShouldFail(
              "TESTCASE D1: duplicated id:",
              appJar, classlist(
                  "Hello",
                  "java/lang/Object id: 1",
!                 "java/lang/IdentityObject id: 2",
+                 "CustomLoadee id: 1 super: 1 interfaces: 2 source: " + customJarPath
              ),
              "Duplicated ID 1 for class CustomLoadee");
  
          dumpShouldFail(
              "TESTCASE D2: bad ID for super:",
< prev index next >