Skip to content
Permalink
Browse files
8271154: [lworld] CDS LoaderConstraintsTest fails after injection of …
…IdentityObject

Reviewed-by: hseigel
  • Loading branch information
fparain committed Jul 23, 2021
1 parent a4066d7 commit 8c1129061ccca182eda866e87c5a5693d6c3d622
Showing with 4 additions and 3 deletions.
  1. +4 −3 test/hotspot/jtreg/runtime/cds/appcds/loaderConstraints/LoaderConstraintsTest.java
@@ -95,12 +95,13 @@ static void doTestCustomLoader() throws Exception {
String src = " source: " + appJar;
String classList[] =
TestCommon.concat(loaderClasses,
"java/lang/IdentityObject id: 0",
"java/lang/Object id: 1",
mainClass + " id: 2 super: 1" + src,
mainClass + " id: 2 super: 1 interfaces: 0" + src,
httpHandlerClass + " id: 3",
"MyHttpHandler id: 5 super: 1 interfaces: 3" + src,
"MyHttpHandler id: 5 super: 1 interfaces: 3 0" + src,
"MyHttpHandlerB id: 6 super: 1 interfaces: 3" + src,
"MyHttpHandlerC id: 7 super: 1 interfaces: 3" + src);
"MyHttpHandlerC id: 7 super: 1 interfaces: 3 0" + src);
TestCommon.dump(loaderJar, classList, "-Xlog:cds");

String cmdLine[] =

0 comments on commit 8c11290

Please sign in to comment.