< prev index next > test/hotspot/jtreg/runtime/cds/appcds/customLoader/ClassListFormatE.java
Print this page
"TESTCASE E3: specifying an interface that's not implemented by the class",
appJar, classlist(
"Hello",
"java/lang/Object id: 1",
"CustomInterface2_ia id: 2 super: 1 source: " + customJarPath,
! "CustomLoadee id: 2 super: 1 interfaces: 2 source: " + customJarPath
),
"The number of interfaces (1) specified in class list does not match the class file (0)");
dumpShouldFail(
"TESTCASE E4: repeating an ID in the interfaces: keyword",
"TESTCASE E3: specifying an interface that's not implemented by the class",
appJar, classlist(
"Hello",
"java/lang/Object id: 1",
"CustomInterface2_ia id: 2 super: 1 source: " + customJarPath,
! "CustomLoadee id: 3 super: 1 interfaces: 2 source: " + customJarPath
),
"The number of interfaces (1) specified in class list does not match the class file (0)");
dumpShouldFail(
"TESTCASE E4: repeating an ID in the interfaces: keyword",
< prev index next >